mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9485] Fix a value in movement update blocks with update flag UPDATEFLAG_VEHICLE
Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
parent
a505b8cd1c
commit
dfdd59a483
2 changed files with 2 additions and 2 deletions
|
|
@ -525,7 +525,7 @@ void Object::BuildMovementUpdate(ByteBuffer * data, uint16 updateFlags) const
|
|||
if(updateFlags & UPDATEFLAG_VEHICLE) // unused for now
|
||||
{
|
||||
*data << uint32(((Vehicle*)this)->GetVehicleId()); // vehicle id
|
||||
*data << float(0); // facing adjustment
|
||||
*data << float(((WorldObject*)this)->GetOrientation());
|
||||
}
|
||||
|
||||
// 0x200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue