diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-08 00:21:49 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-08 00:21:49 +0200 |
commit | 16a5c2f676dfb5ae6e3348594cb747372e116f80 (patch) | |
tree | 735ff7a554c9d27f83f7d45edc8e9de6a5148452 /src/control/Script.cpp | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-16a5c2f676dfb5ae6e3348594cb747372e116f80.tar re3-16a5c2f676dfb5ae6e3348594cb747372e116f80.tar.gz re3-16a5c2f676dfb5ae6e3348594cb747372e116f80.tar.bz2 re3-16a5c2f676dfb5ae6e3348594cb747372e116f80.tar.lz re3-16a5c2f676dfb5ae6e3348594cb747372e116f80.tar.xz re3-16a5c2f676dfb5ae6e3348594cb747372e116f80.tar.zst re3-16a5c2f676dfb5ae6e3348594cb747372e116f80.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 4d784e4a..ff516136 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -2280,7 +2280,7 @@ int8 CRunningScript::ProcessCommands100To199(int32 command) CCarCtrl::JoinCarWithRoadSystem(car); car->AutoPilot.m_nCarMission = MISSION_CRUISE; car->bEngineOn = true; - car->AutoPilot.m_nCruiseSpeed = Max(car->AutoPilot.m_nCruiseSpeed, 6); + car->AutoPilot.m_nCruiseSpeed = Max(1, car->AutoPilot.m_nCruiseSpeed); car->AutoPilot.m_nAntiReverseTimer = CTimer::GetTimeInMilliseconds(); return 0; } |