[8304] Move standup code to login, remove other not needed data change at save.

Now players saved as-is without any modifications.
This commit is contained in:
VladimirMangos 2009-08-04 12:49:56 +04:00
parent 359229100e
commit 8af151eee7
3 changed files with 30 additions and 64 deletions

View file

@ -836,6 +836,9 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder * holder)
sLog.outChar("Account: %d (IP: %s) Login Character:[%s] (guid:%u)",
GetAccountId(),IP_str.c_str(),pCurrChar->GetName() ,pCurrChar->GetGUIDLow());
if(!pCurrChar->IsStandState() && !pCurrChar->hasUnitState(UNIT_STAT_STUNNED))
pCurrChar->SetStandState(UNIT_STAND_STATE_STAND);
m_playerLoading = false;
delete holder;
}