mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-31 06:07:37 +01:00
*Update to Mangos 7206.
--HG-- branch : trunk
This commit is contained in:
@@ -306,7 +306,7 @@ void WorldSession::HandleLogoutRequestOpcode( WorldPacket & /*recv_data*/ )
|
||||
// not set flags if player can't free move to prevent lost state at logout cancel
|
||||
if(GetPlayer()->CanFreeMove())
|
||||
{
|
||||
GetPlayer()->SetStandState(PLAYER_STATE_SIT);
|
||||
GetPlayer()->SetStandState(UNIT_STAND_STATE_SIT);
|
||||
|
||||
WorldPacket data( SMSG_FORCE_MOVE_ROOT, (8+4) ); // guess size
|
||||
data.append(GetPlayer()->GetPackGUID());
|
||||
@@ -346,7 +346,7 @@ void WorldSession::HandleLogoutCancelOpcode( WorldPacket & /*recv_data*/ )
|
||||
SendPacket( &data );
|
||||
|
||||
//! Stand Up
|
||||
GetPlayer()->SetStandState(PLAYER_STATE_NONE);
|
||||
GetPlayer()->SetStandState(UNIT_STAND_STATE_STAND);
|
||||
|
||||
//! DISABLE_ROTATE
|
||||
GetPlayer()->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED);
|
||||
|
||||
Reference in New Issue
Block a user