summaryrefslogtreecommitdiff
path: root/src
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:43:22 +0300
commit1b178a55d7bf45f6a35a7a99b32fb46290bff59d (patch)
tree9714efc9784394f6bcbb94a9f1c19a3f27d0514d /src
parente30e1ccccd80e6b3971819080006c4361d53813e (diff)
actual fix
Diffstat (limited to 'src')
-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;