summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-15 18:35:47 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-15 18:35:47 +0300
commitc48f6e9bda41490cdb433a39c12b76e99dcbc65a (patch)
tree83421cf29a037328e9a738e38d80c348c0db7e00
parent5fe04940be9419f87a624de917b0fae319761e1f (diff)
actual fix
-rw-r--r--src/control/CarAI.cpp7
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;