summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-07 23:59:43 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-07 23:59:43 +0200
commita77b181e32e64604868cb90dd0346b8da7bf2fd6 (patch)
tree63f9a7ea70e28eedce723590faf330c460bb9f1c /src/control/Script.cpp
parentMessage box, letterbox and ped attaching (diff)
downloadre3-a77b181e32e64604868cb90dd0346b8da7bf2fd6.tar
re3-a77b181e32e64604868cb90dd0346b8da7bf2fd6.tar.gz
re3-a77b181e32e64604868cb90dd0346b8da7bf2fd6.tar.bz2
re3-a77b181e32e64604868cb90dd0346b8da7bf2fd6.tar.lz
re3-a77b181e32e64604868cb90dd0346b8da7bf2fd6.tar.xz
re3-a77b181e32e64604868cb90dd0346b8da7bf2fd6.tar.zst
re3-a77b181e32e64604868cb90dd0346b8da7bf2fd6.zip
Diffstat (limited to '')
-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 5a1da380..4d784e4a 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -2268,7 +2268,7 @@ int8 CRunningScript::ProcessCommands100To199(int32 command)
car->AutoPilot.m_nCarMission = MISSION_GOTOCOORDS;
car->SetStatus(STATUS_PHYSICS);
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;
}