summaryrefslogtreecommitdiffstats
path: root/src/control/CarAI.cpp
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:36:48 +0200
commit042284de8bbd7c7984e5202a085ca5ee554d43e2 (patch)
tree4d27dc3f603738eb177fddad35bf7c151266d5dc /src/control/CarAI.cpp
parentlil fix (diff)
downloadre3-042284de8bbd7c7984e5202a085ca5ee554d43e2.tar
re3-042284de8bbd7c7984e5202a085ca5ee554d43e2.tar.gz
re3-042284de8bbd7c7984e5202a085ca5ee554d43e2.tar.bz2
re3-042284de8bbd7c7984e5202a085ca5ee554d43e2.tar.lz
re3-042284de8bbd7c7984e5202a085ca5ee554d43e2.tar.xz
re3-042284de8bbd7c7984e5202a085ca5ee554d43e2.tar.zst
re3-042284de8bbd7c7984e5202a085ca5ee554d43e2.zip
Diffstat (limited to '')
-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 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;