Core/World: Store account id in CharacterInfo to reduce the amount of database queries
(cherry picked from commit aaaa1c34410c160c7b0382f5ecdb39fa01ba007c)
This commit is contained in:
1 parent
38c7a37530
commit
4a36850167
14 files changed
+88
-101
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user