mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 08:58:58 +00:00
lil fix
This commit is contained in:
parent
f4e723e690
commit
3441714a13
1 changed files with 4 additions and 1 deletions
|
@ -584,8 +584,11 @@ void CCarAI::TellOccupantsToLeaveCar(CVehicle* pVehicle)
|
|||
{
|
||||
if (pVehicle->pDriver){
|
||||
pVehicle->pDriver->SetObjective(OBJECTIVE_LEAVE_CAR, pVehicle);
|
||||
if (pVehicle->GetModelIndex() == MI_AMBULAN)
|
||||
switch (pVehicle->GetModelIndex()) {
|
||||
case MI_AMBULAN:
|
||||
pVehicle->pDriver->Say(SOUND_PED_LEAVE_VEHICLE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
int timer = 100;
|
||||
for (int i = 0; i < pVehicle->m_nNumMaxPassengers; i++){
|
||||
|
|
Loading…
Reference in a new issue