diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-15 21:30:51 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-15 21:30:51 +0100 |
commit | 85d815cf9d9eeaa7199e56be09e6d2878ff9d135 (patch) | |
tree | aa733429e2b1a8bdab781cd8cbc69807716f8c7c /src/vehicles | |
parent | sync with upstream (diff) | |
download | re3-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 'src/vehicles')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 1 |
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]; } |