summaryrefslogtreecommitdiff
path: root/src/control/AutoPilot.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-09-02 19:04:09 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2019-09-02 19:04:09 +0300
commitb2236d8951562e8b780e979fd473fc7b0f7120ec (patch)
treef8c7198e6124f85be46f0b40b27c50fc4bd53c0b /src/control/AutoPilot.h
parent3c0bbb10f310dcdb1dd18fb76622c3efa041d143 (diff)
More CCarCtrl
Diffstat (limited to 'src/control/AutoPilot.h')
-rw-r--r--src/control/AutoPilot.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/control/AutoPilot.h b/src/control/AutoPilot.h
index 4043c4e5..3b63a143 100644
--- a/src/control/AutoPilot.h
+++ b/src/control/AutoPilot.h
@@ -60,9 +60,9 @@ enum eCarDrivingStyle : uint8
class CAutoPilot {
public:
- uint32 m_nCurrentRouteNode;
- uint32 m_nNextRouteNode;
- uint32 m_nPrevRouteNode;
+ int32 m_nCurrentRouteNode;
+ int32 m_nNextRouteNode;
+ int32 m_nPrevRouteNode;
uint32 m_nTimeEnteredCurve;
uint32 m_nTimeToSpendOnCurrentCurve;
uint32 m_nCurrentPathNodeInfo;
@@ -83,8 +83,8 @@ public:
uint8 m_nCruiseSpeed;
uint8 m_bSlowedDownBecauseOfCars : 1;
uint8 m_bSlowedDownBecauseOfPeds : 1;
- uint8 m_flag4 : 1;
- uint8 m_flag8 : 1;
+ uint8 m_bStayInCurrentLevel : 1;
+ uint8 m_bStayInFastLane : 1;
uint8 m_flag10 : 1;
CVector m_vecDestinationCoors;
void *m_aPathFindNodesInfo[8];
@@ -114,7 +114,7 @@ public:
m_pTargetCar = 0;
m_nTimeToStartMission = CTimer::GetTimeInMilliseconds();
m_nAntiReverseTimer = m_nTimeToStartMission;
- m_flag8 = false;
+ m_bStayInFastLane = false;
}
void ModifySpeed(float);