summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-02-15 21:30:51 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-02-15 21:30:51 +0100
commit85d815cf9d9eeaa7199e56be09e6d2878ff9d135 (patch)
treeaa733429e2b1a8bdab781cd8cbc69807716f8c7c /src/vehicles
parentsync with upstream (diff)
downloadre3-85d815cf9d9eeaa7199e56be09e6d2878ff9d135.tar
re3-85d815cf9d9eeaa7199e56be09e6d2878ff9d135.tar.gz
re3-85d815cf9d9eeaa7199e56be09e6d2878ff9d135.tar.bz2
re3-85d815cf9d9eeaa7199e56be09e6d2878ff9d135.tar.lz
re3-85d815cf9d9eeaa7199e56be09e6d2878ff9d135.tar.xz
re3-85d815cf9d9eeaa7199e56be09e6d2878ff9d135.tar.zst
re3-85d815cf9d9eeaa7199e56be09e6d2878ff9d135.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Vehicle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 3d02dd25..90848d6c 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -627,6 +627,7 @@ CVehicle::SetupPassenger(int n)
pPassengers[n]->SetPedState(PED_DRIVING);
if(bIsBus)
pPassengers[n]->bRenderPedInCar = false;
+ ++m_nNumPassengers;
return pPassengers[n];
}