Skip to content

Commit cf9c614

Browse files
committed
Addendum to previous commit
Don't forget client-side
1 parent 3470a1a commit cf9c614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/mods/deathmatch/logic/CNetAPI.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,8 +1315,8 @@ void CNetAPI::ReadVehiclePuresync(CClientPlayer* pPlayer, CClientVehicle* pVehic
13151315
float fSpeed = 0.0f;
13161316
BitStream.Read(fPosition);
13171317
BitStream.ReadBit(bDirection);
1318-
BitStream.Read(ucTrack);
13191318
BitStream.Read(fSpeed);
1319+
BitStream.Read(ucTrack);
13201320

13211321
if (vehicleType == CLIENTVEHICLE_TRAIN)
13221322
{
@@ -1588,8 +1588,8 @@ void CNetAPI::WriteVehiclePuresync(CClientPed* pPlayerModel, CClientVehicle* pVe
15881588
float fSpeed = pVehicle->GetTrainSpeed();
15891589
BitStream.Write(fPosition);
15901590
BitStream.WriteBit(bDirection);
1591-
BitStream.Write(ucTrack);
15921591
BitStream.Write(fSpeed);
1592+
BitStream.Write(ucTrack);
15931593
}
15941594

15951595
// Write the camera orientation

0 commit comments

Comments
 (0)