mirror of
https://github.com/halpz/re3.git
synced 2025-04-23 02:56:59 +00:00
lil fix
This commit is contained in:
parent
39d2c427e5
commit
e30e1ccccd
@ -599,8 +599,11 @@ void CCarAI::TellOccupantsToLeaveCar(CVehicle* pVehicle)
|
|||||||
{
|
{
|
||||||
if (pVehicle->pDriver){
|
if (pVehicle->pDriver){
|
||||||
pVehicle->pDriver->SetObjective(OBJECTIVE_LEAVE_CAR, pVehicle);
|
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);
|
pVehicle->pDriver->Say(SOUND_PED_LEAVE_VEHICLE);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
int timer = 100;
|
int timer = 100;
|
||||||
for (int i = 0; i < pVehicle->m_nNumMaxPassengers; i++){
|
for (int i = 0; i < pVehicle->m_nNumMaxPassengers; i++){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user