summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-15 11:11:49 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-15 11:11:49 +0200
commit5d90821a8e4ac62dfcb690a94d1760ab4892f597 (patch)
treef6dd470d6ce133b77ce3a61c3690e9ce019e21c0 /src
parentfixed arithmetics (diff)
downloadre3-5d90821a8e4ac62dfcb690a94d1760ab4892f597.tar
re3-5d90821a8e4ac62dfcb690a94d1760ab4892f597.tar.gz
re3-5d90821a8e4ac62dfcb690a94d1760ab4892f597.tar.bz2
re3-5d90821a8e4ac62dfcb690a94d1760ab4892f597.tar.lz
re3-5d90821a8e4ac62dfcb690a94d1760ab4892f597.tar.xz
re3-5d90821a8e4ac62dfcb690a94d1760ab4892f597.tar.zst
re3-5d90821a8e4ac62dfcb690a94d1760ab4892f597.zip
Diffstat (limited to 'src')
-rw-r--r--src/control/AutoPilot.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/control/AutoPilot.h b/src/control/AutoPilot.h
index d234a949..b1c824d8 100644
--- a/src/control/AutoPilot.h
+++ b/src/control/AutoPilot.h
@@ -101,8 +101,7 @@ public:
m_nCurrentPathNodeInfo = m_nNextPathNodeInfo;
m_nNextDirection = 1;
m_nCurrentDirecton = m_nNextDirection;
- m_nCurrentLane = 0;
- m_nPreviousLane = m_nPreviousLane;
+ m_nPreviousLane = m_nCurrentLane = 0;
m_nDrivingStyle = DRIVINGSTYLE_STOP_FOR_CARS;
m_nCarMission = MISSION_NONE;
m_nAnimationId = TEMPACT_NONE;