Core/Vehicles: Fix facing adjustment. Patch by beberlescaraber

closes issue #1810
updates issue #4714

--HG--
branch : trunk
This commit is contained in:
Spp
2010-12-17 13:22:17 +01:00
parent a47150abb3
commit ee3fd3ebeb

View File

@@ -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