summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-16 18:25:46 +0200
committerGitHub <noreply@github.com>2019-07-16 18:25:46 +0200
commit568b3de9cc682b4963d4fc6129692d11cfffe64a (patch)
treee119d9af8c6dc6fe93387c1cb264ea12304fbc0a /src/control/AutoPilot.h
parentstarted making frontend accurate to game (diff)
parentfix (diff)
downloadre3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.gz
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.bz2
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.lz
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.xz
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.zst
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.zip
Diffstat (limited to 'src/control/AutoPilot.h')
-rw-r--r--src/control/AutoPilot.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/control/AutoPilot.h b/src/control/AutoPilot.h
index 364cb633..b1c824d8 100644
--- a/src/control/AutoPilot.h
+++ b/src/control/AutoPilot.h
@@ -72,8 +72,8 @@ public:
int8 m_nPreviousDirection;
int8 m_nCurrentDirecton;
int8 m_nNextDirection;
- int8 m_nPreviousPathDirection;
- int8 m_nCurrentPathDirection;
+ int8 m_nPreviousLane;
+ int8 m_nCurrentLane;
eCarDrivingStyle m_nDrivingStyle;
eCarMission m_nCarMission;
eCarTempAction m_nAnimationId;
@@ -101,8 +101,7 @@ public:
m_nCurrentPathNodeInfo = m_nNextPathNodeInfo;
m_nNextDirection = 1;
m_nCurrentDirecton = m_nNextDirection;
- m_nCurrentPathDirection = 0;
- m_nPreviousPathDirection = m_nCurrentPathDirection;
+ m_nPreviousLane = m_nCurrentLane = 0;
m_nDrivingStyle = DRIVINGSTYLE_STOP_FOR_CARS;
m_nCarMission = MISSION_NONE;
m_nAnimationId = TEMPACT_NONE;