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:43:22 +0200
commit1b178a55d7bf45f6a35a7a99b32fb46290bff59d (patch)
tree9714efc9784394f6bcbb94a9f1c19a3f27d0514d /src/control/CarAI.cpp
parentlil fix (diff)
downloadre3-1b178a55d7bf45f6a35a7a99b32fb46290bff59d.tar
re3-1b178a55d7bf45f6a35a7a99b32fb46290bff59d.tar.gz
re3-1b178a55d7bf45f6a35a7a99b32fb46290bff59d.tar.bz2
re3-1b178a55d7bf45f6a35a7a99b32fb46290bff59d.tar.lz
re3-1b178a55d7bf45f6a35a7a99b32fb46290bff59d.tar.xz
re3-1b178a55d7bf45f6a35a7a99b32fb46290bff59d.tar.zst
re3-1b178a55d7bf45f6a35a7a99b32fb46290bff59d.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 87bd033c..ead39b7f 100644
--- a/src/control/CarAI.cpp
+++ b/src/control/CarAI.cpp
@@ -600,6 +600,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;