From 5d90821a8e4ac62dfcb690a94d1760ab4892f597 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Mon, 15 Jul 2019 12:11:49 +0300 Subject: fix --- src/control/AutoPilot.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3