diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-13 19:12:15 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-13 19:12:15 +0200 |
commit | 2411558bab50929cbc067c9f4083f24ad1af65c9 (patch) | |
tree | 2ba5b7879c46cd4106305e010f53fb065b3da258 /src/control/CarAI.cpp | |
parent | 400-499 (diff) | |
download | re3-2411558bab50929cbc067c9f4083f24ad1af65c9.tar re3-2411558bab50929cbc067c9f4083f24ad1af65c9.tar.gz re3-2411558bab50929cbc067c9f4083f24ad1af65c9.tar.bz2 re3-2411558bab50929cbc067c9f4083f24ad1af65c9.tar.lz re3-2411558bab50929cbc067c9f4083f24ad1af65c9.tar.xz re3-2411558bab50929cbc067c9f4083f24ad1af65c9.tar.zst re3-2411558bab50929cbc067c9f4083f24ad1af65c9.zip |
Diffstat (limited to 'src/control/CarAI.cpp')
-rw-r--r-- | src/control/CarAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp index 10083059..e8ce9ed4 100644 --- a/src/control/CarAI.cpp +++ b/src/control/CarAI.cpp @@ -250,7 +250,7 @@ void CCarAI::UpdateCarAI(CVehicle* pVehicle) else if (distance > 35.0f && !pVehicle->AutoPilot.m_bIgnorePathfinding && (CTimer::GetFrameCounter() & 7) == 0) { pVehicle->AutoPilot.m_nTempAction = TEMPACT_NONE; pVehicle->AutoPilot.m_nCarMission = (CCarCtrl::JoinCarWithRoadSystemGotoCoors(pVehicle, pVehicle->AutoPilot.m_vecDestinationCoors, true)) ? - MISSION_GOTOCOORDS_STRAIGHT : MISSION_GOTOCOORDS; + MISSION_GOTO_COORDS_STRAIGHT_ACCURATE : MISSION_GOTOCOORDS_ACCURATE; } break; } |