diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-15 18:35:47 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-15 18:36:48 +0300 |
commit | 042284de8bbd7c7984e5202a085ca5ee554d43e2 (patch) | |
tree | 4d27dc3f603738eb177fddad35bf7c151266d5dc | |
parent | 3441714a13f57eecdf6ef74d3208cf503efd588c (diff) |
actual fix
-rw-r--r-- | src/control/CarAI.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp index 2609436f..5b4c955b 100644 --- a/src/control/CarAI.cpp +++ b/src/control/CarAI.cpp @@ -585,6 +585,13 @@ void CCarAI::TellOccupantsToLeaveCar(CVehicle* pVehicle) if (pVehicle->pDriver){ pVehicle->pDriver->SetObjective(OBJECTIVE_LEAVE_CAR, pVehicle); switch (pVehicle->GetModelIndex()) { + case MI_FIRETRUCK: + case MI_FBICAR: + case MI_ENFORCER: + case MI_CHOPPER: + case MI_RHINO: + case MI_POLICE: + break; case MI_AMBULAN: pVehicle->pDriver->Say(SOUND_PED_LEAVE_VEHICLE); break; |