mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Vehicles: Fix facing adjustment. Patch by beberlescaraber
closes issue #1810 updates issue #4714 --HG-- branch : trunk
This commit is contained in:
@@ -458,7 +458,7 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint16 flags) const
|
||||
if (flags & UPDATEFLAG_VEHICLE) // unused for now
|
||||
{
|
||||
*data << uint32(((Unit*)this)->GetVehicleKit()->GetVehicleInfo()->m_ID); // vehicle id
|
||||
*data << float(0); // facing adjustment
|
||||
*data << float(((Creature*)this)->GetOrientation()); // facing adjustment
|
||||
}
|
||||
|
||||
// 0x200
|
||||
|
||||
Reference in New Issue
Block a user