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:35:47 +0300 |
commit | c48f6e9bda41490cdb433a39c12b76e99dcbc65a (patch) | |
tree | 83421cf29a037328e9a738e38d80c348c0db7e00 /src | |
parent | 5fe04940be9419f87a624de917b0fae319761e1f (diff) |
actual fix
Diffstat (limited to 'src')
-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 a894731b..7c883691 100644 --- a/src/control/CarAI.cpp +++ b/src/control/CarAI.cpp @@ -511,6 +511,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; |