mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-13 21:49:49 +01:00
Remove wrong check in MovementHandler, flag 1<<31 is set only client-side.
--HG-- branch : trunk
This commit is contained in:
@@ -192,13 +192,6 @@ void WorldSession::HandleMovementOpcodes( WorldPacket & recv_data )
|
||||
recv_data >> movementInfo.z;
|
||||
recv_data >> movementInfo.o;
|
||||
|
||||
if(MovementFlags & MOVEMENTFLAG_FLYING && !(MovementFlags & MOVEMENTFLAG_UNK3))
|
||||
{
|
||||
sLog.outError("Player %s (GUID %u) has incorrect movementflags, kicking.", _player->GetName(), _player->GetGUIDLow());
|
||||
KickPlayer();
|
||||
return;
|
||||
}
|
||||
|
||||
if(MovementFlags & MOVEMENTFLAG_ONTRANSPORT)
|
||||
{
|
||||
// recheck
|
||||
|
||||
Reference in New Issue
Block a user