diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-03-30 20:10:12 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-03-30 20:10:12 +0300 |
commit | 2607a91d87270709db4303ee8cb9011e2d9146ad (patch) | |
tree | 611cf59f1c46b60908057affe8d86eb9b39a23ad /src/control/AutoPilot.cpp | |
parent | bb8868eba79e0c6b76ca1e5a397ac20e72937798 (diff) | |
parent | 8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd (diff) |
Merge remote-tracking branch 'origin/master' into MoreLanguages
Diffstat (limited to 'src/control/AutoPilot.cpp')
-rw-r--r-- | src/control/AutoPilot.cpp | 4 |
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() { |