[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:
Christyan 2010-02-28 21:33:27 +01:00 committed by Lightguard
parent a505b8cd1c
commit dfdd59a483
2 changed files with 2 additions and 2 deletions

View file

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

View file

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