mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 12:39:02 +00:00
skipped one def
This commit is contained in:
parent
22e8b0e419
commit
6b4b708fa7
1 changed files with 0 additions and 12 deletions
|
@ -85,19 +85,7 @@ void CCarAI::UpdateCarAI(CVehicle* pVehicle)
|
||||||
if (pVehicle->UsesSiren(pVehicle->GetModelIndex()))
|
if (pVehicle->UsesSiren(pVehicle->GetModelIndex()))
|
||||||
pVehicle->m_bSirenOrAlarm = true;
|
pVehicle->m_bSirenOrAlarm = true;
|
||||||
}
|
}
|
||||||
#ifndef MIAMI
|
|
||||||
if (FindPlayerPed()->m_pWanted->m_bIgnoredByEveryone || pVehicle->bIsLawEnforcer &&
|
|
||||||
(FindPlayerPed()->m_pWanted->m_nWantedLevel == 0 || FindPlayerPed()->m_pWanted->m_bIgnoredByCops || CCullZones::NoPolice())) {
|
|
||||||
CCarCtrl::JoinCarWithRoadSystem(pVehicle);
|
|
||||||
pVehicle->AutoPilot.m_nCarMission = MISSION_CRUISE;
|
|
||||||
pVehicle->AutoPilot.m_nDrivingStyle = DRIVINGSTYLE_STOP_FOR_CARS;
|
|
||||||
pVehicle->m_bSirenOrAlarm = false;
|
|
||||||
if (CCullZones::NoPolice())
|
|
||||||
pVehicle->AutoPilot.m_nCarMission = MISSION_NONE;
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
BackToCruisingIfNoWantedLevel(pVehicle);
|
BackToCruisingIfNoWantedLevel(pVehicle);
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
case MISSION_RAMPLAYER_CLOSE:
|
case MISSION_RAMPLAYER_CLOSE:
|
||||||
if (FindSwitchDistanceFar(pVehicle) >= (FindPlayerCoors() - pVehicle->GetPosition()).Magnitude2D() ||
|
if (FindSwitchDistanceFar(pVehicle) >= (FindPlayerCoors() - pVehicle->GetPosition()).Magnitude2D() ||
|
||||||
|
|
Loading…
Reference in a new issue