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:
Shauren authored and ariel- committed 2016-01-11 01:51:04 -03:00
1 parent b7d37daa74
commit ce7fc03930
15 files changed
+91 -104

No files matched your search

+1 -1
View File
@@ -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);
}
}