summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-08-25 15:47:22 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-08-25 15:47:22 +0200
commit64cef333c8b04b66806e150add1287f78f47e365 (patch)
treef371bc782b1ad934845f366451c52c3f341b4049 /src/control/AutoPilot.h
parentmerge (diff)
downloadre3-64cef333c8b04b66806e150add1287f78f47e365.tar
re3-64cef333c8b04b66806e150add1287f78f47e365.tar.gz
re3-64cef333c8b04b66806e150add1287f78f47e365.tar.bz2
re3-64cef333c8b04b66806e150add1287f78f47e365.tar.lz
re3-64cef333c8b04b66806e150add1287f78f47e365.tar.xz
re3-64cef333c8b04b66806e150add1287f78f47e365.tar.zst
re3-64cef333c8b04b66806e150add1287f78f47e365.zip
Diffstat (limited to '')
-rw-r--r--src/control/AutoPilot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/AutoPilot.h b/src/control/AutoPilot.h
index e0adc23a..4043c4e5 100644
--- a/src/control/AutoPilot.h
+++ b/src/control/AutoPilot.h
@@ -81,7 +81,7 @@ public:
uint32 m_nTimeTempAction;
float m_fMaxTrafficSpeed;
uint8 m_nCruiseSpeed;
- uint8 m_flag1 : 1;
+ uint8 m_bSlowedDownBecauseOfCars : 1;
uint8 m_bSlowedDownBecauseOfPeds : 1;
uint8 m_flag4 : 1;
uint8 m_flag8 : 1;
@@ -109,7 +109,7 @@ public:
m_nCruiseSpeed = 10;
m_fMaxTrafficSpeed = 10.0f;
m_bSlowedDownBecauseOfPeds = false;
- m_flag1 = false;
+ m_bSlowedDownBecauseOfCars = false;
m_nPathFindNodesCount = 0;
m_pTargetCar = 0;
m_nTimeToStartMission = CTimer::GetTimeInMilliseconds();