Core: Remove Player.h dependency from all the possible headers
This commit is contained in:
1 parent
d55771267a
commit
b99c347747
293 files changed
+567
-260
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user