feat(Core/Gameobject): add a range check for gameobjects (#7521)
This commit is contained in:
parent
1c43e6ac6e
commit
ae8a78d90a
10 changed files with 256 additions and 48 deletions
|
|
@ -432,7 +432,9 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint16 flags) const
|
|||
|
||||
// 0x200
|
||||
if (flags & UPDATEFLAG_ROTATION)
|
||||
*data << int64(ToGameObject()->GetPackedWorldRotation());
|
||||
{
|
||||
*data << int64(ToGameObject()->GetPackedLocalRotation());
|
||||
}
|
||||
}
|
||||
|
||||
void Object::BuildValuesUpdate(uint8 updateType, ByteBuffer* data, Player* target) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue