mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
[Cleanup] Remove GetMaxRank() from aa_ability.cpp/aa_ability.h (#3347)
# Notes - This is unused.
This commit is contained in:
parent
65fd323eab
commit
bd95ed44fd
@ -21,18 +21,6 @@
|
|||||||
#include "masterentity.h"
|
#include "masterentity.h"
|
||||||
#include "aa_ability.h"
|
#include "aa_ability.h"
|
||||||
|
|
||||||
AA::Rank *AA::Ability::GetMaxRank() {
|
|
||||||
if(!first)
|
|
||||||
return nullptr;
|
|
||||||
|
|
||||||
Rank *current = first;
|
|
||||||
while(current->next) {
|
|
||||||
current = current->next;
|
|
||||||
}
|
|
||||||
|
|
||||||
return current;
|
|
||||||
}
|
|
||||||
|
|
||||||
AA::Rank *AA::Ability::GetRankByPointsSpent(int current_level) {
|
AA::Rank *AA::Ability::GetRankByPointsSpent(int current_level) {
|
||||||
if(current_level == 0)
|
if(current_level == 0)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|||||||
@ -37,7 +37,6 @@ public:
|
|||||||
Ability() { }
|
Ability() { }
|
||||||
~Ability() { }
|
~Ability() { }
|
||||||
|
|
||||||
Rank *GetMaxRank();
|
|
||||||
Rank *GetRankByPointsSpent(int current_level);
|
Rank *GetRankByPointsSpent(int current_level);
|
||||||
int GetMaxLevel(Mob *who);
|
int GetMaxLevel(Mob *who);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user