Core/Object: Range check (#23179) (ported commit: 32e1de39a26628dcb64bc21ad415afb2ad938925)

This commit is contained in:
Ovahlord committed 2019-04-26 18:41:31 +02:00
1 parent 738aa92782
commit e5d59d5f98
6 files changed
+169 -36

No files matched your search

+1 -1
View File
@@ -600,7 +600,7 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint16 flags) const
}
if (flags & UPDATEFLAG_ROTATION)
*data << uint64(ToGameObject()->GetPackedWorldRotation());
*data << uint64(ToGameObject()->GetPackedLocalRotation());
if (flags & UPDATEFLAG_UNK5)
{