Skip to content

Commit a67f2d9

Browse files
committed
Fixed #8815 (Bad position and vehicle hp when warping to players in
vehicles)
1 parent 7e3e330 commit a67f2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MTA10_Server/mods/deathmatch/logic/packets/CVehiclePuresyncPacket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ bool CVehiclePuresyncPacket::Write ( NetBitStreamInterface& BitStream ) const
472472

473473
// Write the serverside model (#8800)
474474
if ( BitStream.Version ( ) >= 0x05F )
475-
BitStream.Write ( pVehicle->GetModel() );
475+
BitStream.Write ( (int) pVehicle->GetModel() );
476476

477477
// Write the vehicle matrix only if he's the driver
478478
CVector vecTemp;

0 commit comments

Comments
 (0)