summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:54:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:54:26 +0200
commit23c6a283249da948ab96b4254e5db5fbeef760c1 (patch)
tree8d3f4ed9227271bc9a4ce90295d9e81bcc25efb4 /src/control/AutoPilot.cpp
parentmore garages (diff)
parentfixed PS2 build (diff)
downloadre3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.gz
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.bz2
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.lz
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.xz
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.zst
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.zip
Diffstat (limited to 'src/control/AutoPilot.cpp')
-rw-r--r--src/control/AutoPilot.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/control/AutoPilot.cpp b/src/control/AutoPilot.cpp
index e3d5c9e9..70099291 100644
--- a/src/control/AutoPilot.cpp
+++ b/src/control/AutoPilot.cpp
@@ -6,9 +6,6 @@
#include "Curves.h"
#include "PathFind.h"
-#if 0
-WRAPPER void CAutoPilot::ModifySpeed(float) { EAXJMP(0x4137B0); }
-#else
void CAutoPilot::ModifySpeed(float speed)
{
m_fMaxTrafficSpeed = max(0.01f, speed);
@@ -41,7 +38,6 @@ void CAutoPilot::ModifySpeed(float speed)
m_nTimeEnteredCurve = CTimer::GetTimeInMilliseconds() - positionBetweenNodes * m_nSpeedScaleFactor;
#endif
}
-#endif
void CAutoPilot::RemoveOnePathNode()
{