Actually remove expendable AAs from the DB

This commit is contained in:
Michael Cook (mackal)
2016-08-07 14:32:30 -04:00
parent e5746c3b2e
commit e86d11250b
3 changed files with 10 additions and 0 deletions
+5
View File
@@ -568,6 +568,11 @@ bool Client::SaveAA() {
return true;
}
void Client::RemoveExpendedAA(int aa_id)
{
database.QueryDatabase(StringFormat("DELETE from `character_alternate_abilities` WHERE `id` = %d and `aa_id` = %d", character_id, aa_id));
}
bool Client::Save(uint8 iCommitNow) {
if(!ClientDataLoaded())
return false;