summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-15 17:35:47 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-15 17:35:47 +0200
commitc48f6e9bda41490cdb433a39c12b76e99dcbc65a (patch)
tree83421cf29a037328e9a738e38d80c348c0db7e00
parentlil fix (diff)
downloadre3-c48f6e9bda41490cdb433a39c12b76e99dcbc65a.tar
re3-c48f6e9bda41490cdb433a39c12b76e99dcbc65a.tar.gz
re3-c48f6e9bda41490cdb433a39c12b76e99dcbc65a.tar.bz2
re3-c48f6e9bda41490cdb433a39c12b76e99dcbc65a.tar.lz
re3-c48f6e9bda41490cdb433a39c12b76e99dcbc65a.tar.xz
re3-c48f6e9bda41490cdb433a39c12b76e99dcbc65a.tar.zst
re3-c48f6e9bda41490cdb433a39c12b76e99dcbc65a.zip
-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;