mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 23:30:01 +00:00
fixed ai bug
This commit is contained in:
parent
e4f1ab20f1
commit
c1dc66c63e
|
@ -5625,7 +5625,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
|
||||||
pVehicle->AutoPilot.m_nCarMission = MISSION_GOTOCOORDS_ACCURATE;
|
pVehicle->AutoPilot.m_nCarMission = MISSION_GOTOCOORDS_ACCURATE;
|
||||||
pVehicle->m_status = STATUS_PHYSICS;
|
pVehicle->m_status = STATUS_PHYSICS;
|
||||||
pVehicle->bEngineOn = true;
|
pVehicle->bEngineOn = true;
|
||||||
pVehicle->AutoPilot.m_nCruiseSpeed = min(6, pVehicle->AutoPilot.m_nCruiseSpeed);
|
pVehicle->AutoPilot.m_nCruiseSpeed = max(6, pVehicle->AutoPilot.m_nCruiseSpeed);
|
||||||
pVehicle->AutoPilot.m_nAntiReverseTimer = CTimer::GetTimeInMilliseconds();
|
pVehicle->AutoPilot.m_nAntiReverseTimer = CTimer::GetTimeInMilliseconds();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue