Core/World: Store account id in CharacterInfo to reduce the amount of database queries
(cherry picked from commit aaaa1c34410c160c7b0382f5ecdb39fa01ba007c)
(cherry picked from commit 4a36850167)
Conflicts:
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/World/World.cpp
This commit is contained in:
1 parent
b7d37daa74
commit
ce7fc03930
15 files changed
+91
-104
No files matched your search
@@ -11741,7 +11741,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