summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-12-07 00:36:40 +0100
committerwithmorten <morten.with@gmail.com>2020-12-07 00:36:40 +0100
commit4696e3f9c88cdf9e025205b0b525dec8c310b671 (patch)
tree635faa0dc5ff4ce5798dae7a3509042b73c63e46 /src/control/AutoPilot.cpp
parentfixed parenthesis (diff)
downloadre3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar
re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.gz
re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.bz2
re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.lz
re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.xz
re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.zst
re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.zip
Diffstat (limited to '')
-rw-r--r--src/control/AutoPilot.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/AutoPilot.cpp b/src/control/AutoPilot.cpp
index b1fce95f..4038c93e 100644
--- a/src/control/AutoPilot.cpp
+++ b/src/control/AutoPilot.cpp
@@ -103,9 +103,9 @@ void CAutoPilot::Load(uint8*& buf)
m_nNextDirection = ReadSaveBuf<int8>(buf);
m_nCurrentLane = ReadSaveBuf<int8>(buf);
m_nNextLane = ReadSaveBuf<int8>(buf);
- m_nDrivingStyle = (eCarDrivingStyle)ReadSaveBuf<uint8>(buf);
- m_nCarMission = (eCarMission)ReadSaveBuf<uint8>(buf);
- m_nTempAction = (eCarTempAction)ReadSaveBuf<uint8>(buf);
+ m_nDrivingStyle = ReadSaveBuf<uint8>(buf);
+ m_nCarMission = ReadSaveBuf<uint8>(buf);
+ m_nTempAction = ReadSaveBuf<uint8>(buf);
m_nTimeTempAction = ReadSaveBuf<uint32>(buf);
m_fMaxTrafficSpeed = ReadSaveBuf<float>(buf);
m_nCruiseSpeed = ReadSaveBuf<uint8>(buf);