Core/World: Store account id in CharacterInfo to reduce the amount of database queries

(cherry picked from commit aaaa1c34410c160c7b0382f5ecdb39fa01ba007c)
This commit is contained in:
Shauren committed 2015-10-29 21:08:00 +01:00
1 parent 38c7a37530
commit 4a36850167
14 files changed
+88 -101

No files matched your search

+1 -1
View File
@@ -13429,7 +13429,7 @@ void Unit::SetLevel(uint8 lvl)
if (player->GetGroup())
player->SetGroupUpdateFlag(GROUP_UPDATE_FLAG_LEVEL);
sWorld->UpdateCharacterNameDataLevel(GetGUID(), lvl);
sWorld->UpdateCharacterInfoLevel(GetGUID(), lvl);
}
}