Core/Object: Removed incorrect code (never affected anything)
This commit is contained in:
@@ -421,13 +421,8 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint16 flags) const
|
|||||||
*data << uint32(GetGUIDLow()); // GetGUIDLow()
|
*data << uint32(GetGUIDLow()); // GetGUIDLow()
|
||||||
break;
|
break;
|
||||||
case TYPEID_UNIT:
|
case TYPEID_UNIT:
|
||||||
{
|
|
||||||
if (this->ToCreature()->canFly())
|
|
||||||
flags |= MOVEMENTFLAG_LEVITATING;
|
|
||||||
|
|
||||||
*data << uint32(0x0000000B); // unk, can be 0xB or 0xC
|
*data << uint32(0x0000000B); // unk, can be 0xB or 0xC
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
case TYPEID_PLAYER:
|
case TYPEID_PLAYER:
|
||||||
if (flags & UPDATEFLAG_SELF)
|
if (flags & UPDATEFLAG_SELF)
|
||||||
*data << uint32(0x0000002F); // unk, can be 0x15 or 0x22
|
*data << uint32(0x0000002F); // unk, can be 0x15 or 0x22
|
||||||
|
|||||||
Reference in New Issue
Block a user