Actually remove expendable AAs from the DB

This commit is contained in:
Michael Cook (mackal) committed 2016-08-07 14:32:30 -04:00
1 parent e5746c3b2e
commit e86d11250b
3 files changed
+10

No files matched your search

+4
View File
@@ -1240,6 +1240,10 @@ void Mob::ExpendAlternateAdvancementCharge(uint32 aa_id) {
CastToClient()->GetEPP().expended_aa += r->cost;
}
}
if (IsClient()) {
auto c = CastToClient();
c->RemoveExpendedAA(ability->first_rank_id);
}
aa_ranks.erase(iter.first);
}