summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-10-13 19:13:39 +0200
committerGitHub <noreply@github.com>2019-10-13 19:13:39 +0200
commit545bd3322c51b2d28635ebe2272a4d3cf9174acc (patch)
treeb1c16ae5e89661ccae356f9a5d763adb9f1da1b6
parentfixed planes (diff)
downloadre3-545bd3322c51b2d28635ebe2272a4d3cf9174acc.tar
re3-545bd3322c51b2d28635ebe2272a4d3cf9174acc.tar.gz
re3-545bd3322c51b2d28635ebe2272a4d3cf9174acc.tar.bz2
re3-545bd3322c51b2d28635ebe2272a4d3cf9174acc.tar.lz
re3-545bd3322c51b2d28635ebe2272a4d3cf9174acc.tar.xz
re3-545bd3322c51b2d28635ebe2272a4d3cf9174acc.tar.zst
re3-545bd3322c51b2d28635ebe2272a4d3cf9174acc.zip
-rw-r--r--src/control/CarAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp
index 10083059..bb0c1ec3 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;
}
@@ -629,4 +629,4 @@ void CCarAI::MakeWayForCarWithSiren(CVehicle *pVehicle)
}
STARTPATCHES
-ENDPATCHES \ No newline at end of file
+ENDPATCHES