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

Now players saved as-is without any modifications.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-05 16:03:33 -05:00
parent 743233a057
commit 47e36000cb
2 changed files with 30 additions and 66 deletions

View File

@@ -854,6 +854,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;
}