From 85d815cf9d9eeaa7199e56be09e6d2878ff9d135 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sat, 15 Feb 2020 23:30:51 +0300 Subject: bug fixes --- src/vehicles/Vehicle.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vehicles') 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]; } -- cgit v1.2.3