Core: Remove Player.h dependency from all the possible headers

This commit is contained in:
Spp
2012-11-17 05:18:37 +01:00
parent d55771267a
commit b99c347747
293 changed files with 567 additions and 260 deletions

View File

@@ -772,7 +772,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
Player* pCurrChar = new Player(this);
// for send server info and strings (config)
ChatHandler chH = ChatHandler(pCurrChar);
ChatHandler chH = ChatHandler(pCurrChar->GetSession());
// "GetAccountId() == db stored account id" checked in LoadFromDB (prevent login not own character using cheating tools)
if (!pCurrChar->LoadFromDB(GUID_LOPART(playerGuid), holder))