Core/Object: Correct the updateflag order in SMSG_UPDATE_OBJECT.
This commit is contained in:
@@ -375,6 +375,12 @@ void Object::_BuildMovementUpdate(ByteBuffer* data, uint16 flags) const
|
||||
}
|
||||
}
|
||||
|
||||
// 0x8
|
||||
if (flags & UPDATEFLAG_UNKNOWN)
|
||||
{
|
||||
*data << uint32(0);
|
||||
}
|
||||
|
||||
// 0x10
|
||||
if (flags & UPDATEFLAG_LOWGUID)
|
||||
{
|
||||
@@ -405,12 +411,6 @@ void Object::_BuildMovementUpdate(ByteBuffer* data, uint16 flags) const
|
||||
}
|
||||
}
|
||||
|
||||
// 0x8
|
||||
if (flags & UPDATEFLAG_UNKNOWN)
|
||||
{
|
||||
*data << uint32(0);
|
||||
}
|
||||
|
||||
// 0x4
|
||||
if (flags & UPDATEFLAG_HAS_TARGET)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user