diff options
author | aap <aap@papnet.eu> | 2020-03-29 16:27:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-29 16:27:42 +0200 |
commit | 82dcc34296465df07a89d081f40c60a6c7424400 (patch) | |
tree | 40252c18f35d0aec836a4cbf44b3ff1823524470 /src/control/AutoPilot.cpp | |
parent | Merge pull request #368 from aap/master (diff) | |
parent | Wrappers cleanup (diff) | |
download | re3-82dcc34296465df07a89d081f40c60a6c7424400.tar re3-82dcc34296465df07a89d081f40c60a6c7424400.tar.gz re3-82dcc34296465df07a89d081f40c60a6c7424400.tar.bz2 re3-82dcc34296465df07a89d081f40c60a6c7424400.tar.lz re3-82dcc34296465df07a89d081f40c60a6c7424400.tar.xz re3-82dcc34296465df07a89d081f40c60a6c7424400.tar.zst re3-82dcc34296465df07a89d081f40c60a6c7424400.zip |
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() { |