mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 08:18:59 +00:00
actual fix
This commit is contained in:
parent
3441714a13
commit
042284de8b
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue