mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 01:52:02 +00:00
Fix Expendable AAs
Thanks to ASan
This commit is contained in:
+1
-1
@@ -1234,13 +1234,13 @@ void Mob::ExpendAlternateAdvancementCharge(uint32 aa_id) {
|
||||
iter.second.second -= 1;
|
||||
|
||||
if(iter.second.second == 0) {
|
||||
aa_ranks.erase(iter.first);
|
||||
if(IsClient()) {
|
||||
AA::Rank *r = ability->GetRankByPointsSpent(iter.second.first);
|
||||
if(r) {
|
||||
CastToClient()->GetEPP().expended_aa += r->cost;
|
||||
}
|
||||
}
|
||||
aa_ranks.erase(iter.first);
|
||||
}
|
||||
|
||||
if(IsClient()) {
|
||||
|
||||
Reference in New Issue
Block a user