Core/Object: Removed incorrect code (never affected anything)

This commit is contained in:
Shauren
2011-08-13 11:44:51 +02:00
parent 6ea362e9e0
commit f03ef48b3e

View File

@@ -421,13 +421,8 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint16 flags) const
*data << uint32(GetGUIDLow()); // GetGUIDLow()
break;
case TYPEID_UNIT:
{
if (this->ToCreature()->canFly())
flags |= MOVEMENTFLAG_LEVITATING;
*data << uint32(0x0000000B); // unk, can be 0xB or 0xC
break;
}
case TYPEID_PLAYER:
if (flags & UPDATEFLAG_SELF)
*data << uint32(0x0000002F); // unk, can be 0x15 or 0x22