summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 07:03:53 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 07:03:53 +0200
commitdaed13485ef47d9c8992e53e1a976fba237fca50 (patch)
treef8116c26ac5f95a77375d67daffddbeaa19177e0 /src/control/AutoPilot.cpp
parentfix weather init (diff)
downloadre3-daed13485ef47d9c8992e53e1a976fba237fca50.tar
re3-daed13485ef47d9c8992e53e1a976fba237fca50.tar.gz
re3-daed13485ef47d9c8992e53e1a976fba237fca50.tar.bz2
re3-daed13485ef47d9c8992e53e1a976fba237fca50.tar.lz
re3-daed13485ef47d9c8992e53e1a976fba237fca50.tar.xz
re3-daed13485ef47d9c8992e53e1a976fba237fca50.tar.zst
re3-daed13485ef47d9c8992e53e1a976fba237fca50.zip
Diffstat (limited to '')
-rw-r--r--src/control/AutoPilot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/AutoPilot.cpp b/src/control/AutoPilot.cpp
index 70099291..319cebab 100644
--- a/src/control/AutoPilot.cpp
+++ b/src/control/AutoPilot.cpp
@@ -35,7 +35,7 @@ void CAutoPilot::ModifySpeed(float speed)
m_nTimeEnteredCurve = CTimer::GetTimeInMilliseconds() -
(uint32)(positionBetweenNodes * m_nTimeToSpendOnCurrentCurve);
#else
- m_nTimeEnteredCurve = CTimer::GetTimeInMilliseconds() - positionBetweenNodes * m_nSpeedScaleFactor;
+ m_nTimeEnteredCurve = CTimer::GetTimeInMilliseconds() - positionBetweenNodes * m_nTimeToSpendOnCurrentCurve;
#endif
}