summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-29 07:54:34 +0200
committerSergeanur <s.anureev@yandex.ua>2020-03-29 07:58:08 +0200
commit97ffa1a6584fb9da20386dda6c171c00c937272b (patch)
tree54dac3fc06761f3acbf7142672e4ab9b0eb4b651 /src/control/AutoPilot.cpp
parentFire and PlayerSkin fix (diff)
downloadre3-97ffa1a6584fb9da20386dda6c171c00c937272b.tar
re3-97ffa1a6584fb9da20386dda6c171c00c937272b.tar.gz
re3-97ffa1a6584fb9da20386dda6c171c00c937272b.tar.bz2
re3-97ffa1a6584fb9da20386dda6c171c00c937272b.tar.lz
re3-97ffa1a6584fb9da20386dda6c171c00c937272b.tar.xz
re3-97ffa1a6584fb9da20386dda6c171c00c937272b.tar.zst
re3-97ffa1a6584fb9da20386dda6c171c00c937272b.zip
Diffstat (limited to '')
-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()
{