actual fix

This commit is contained in:
Nikolay Korolev 2021-08-15 18:35:47 +03:00
parent 3441714a13
commit 042284de8b

View File

@ -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;