summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-18 15:19:34 +0200
committerGitHub <noreply@github.com>2019-07-18 15:19:34 +0200
commit82be4660134b6ec8947a5323676cf4795a3e90e8 (patch)
tree43111284607fc41ce0bbf2d25c51eb250ff28422 /src/vehicles
parentMerge pull request #148 from Nick007J/master (diff)
parentWanted changes in PlayerPed/PedModelInfo (diff)
downloadre3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.gz
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.bz2
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.lz
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.xz
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.zst
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Vehicle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 316de7ac..e521a699 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -603,7 +603,7 @@ CVehicle::SetUpDriver(void)
pDriver->bInVehicle = true;
pDriver->SetPedState(PED_DRIVING);
if(bIsBus)
- pDriver->m_ped_flagC4 = false;
+ pDriver->bRenderPedInCar = false;
return pDriver;
}
@@ -619,7 +619,7 @@ CVehicle::SetupPassenger(int n)
pPassengers[n]->bInVehicle = true;
pPassengers[n]->SetPedState(PED_DRIVING);
if(bIsBus)
- pPassengers[n]->m_ped_flagC4 = false;
+ pPassengers[n]->bRenderPedInCar = false;
return pPassengers[n];
}