summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-08 00:21:49 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-08 00:21:49 +0200
commit16a5c2f676dfb5ae6e3348594cb747372e116f80 (patch)
tree735ff7a554c9d27f83f7d45edc8e9de6a5148452 /src/control
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-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 'src/control')
-rw-r--r--src/control/Script.cpp2
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;
}