mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19: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
|
if(updateFlags & UPDATEFLAG_VEHICLE) // unused for now
|
||||||
{
|
{
|
||||||
*data << uint32(((Vehicle*)this)->GetVehicleId()); // vehicle id
|
*data << uint32(((Vehicle*)this)->GetVehicleId()); // vehicle id
|
||||||
*data << float(0); // facing adjustment
|
*data << float(((WorldObject*)this)->GetOrientation());
|
||||||
}
|
}
|
||||||
|
|
||||||
// 0x200
|
// 0x200
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9484"
|
#define REVISION_NR "9485"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue