mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
feat(Core/Gameobject): add a range check for gameobjects (#7521)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user