summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-28 21:23:49 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-28 21:23:49 +0100
commit7c38e2db24b45a7961d958b7e41db7758bff413e (patch)
treee9a27c4ce3706e8a575a57b8d30b30ea52116493 /src/control
parentfixed uninitialized nearclip (diff)
downloadre3-7c38e2db24b45a7961d958b7e41db7758bff413e.tar
re3-7c38e2db24b45a7961d958b7e41db7758bff413e.tar.gz
re3-7c38e2db24b45a7961d958b7e41db7758bff413e.tar.bz2
re3-7c38e2db24b45a7961d958b7e41db7758bff413e.tar.lz
re3-7c38e2db24b45a7961d958b7e41db7758bff413e.tar.xz
re3-7c38e2db24b45a7961d958b7e41db7758bff413e.tar.zst
re3-7c38e2db24b45a7961d958b7e41db7758bff413e.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp
index 6e6e15bf..f49835db 100644
--- a/src/control/Script3.cpp
+++ b/src/control/Script3.cpp
@@ -1671,6 +1671,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
pBoat->AutoPilot.m_nCarMission = MISSION_GOTOCOORDS_ASTHECROWSWIMS;
pBoat->AutoPilot.m_vecDestinationCoors = pos;
pBoat->SetStatus(STATUS_PHYSICS);
+ pBoat->bEngineOn = true;
pBoat->AutoPilot.m_nCruiseSpeed = Max(6, pBoat->AutoPilot.m_nCruiseSpeed);
pBoat->AutoPilot.m_nAntiReverseTimer = CTimer::GetTimeInMilliseconds();
return 0;