summaryrefslogtreecommitdiffstats
path: root/src
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:25:59 +0100
commit2d5f087041f45d81fafea98ea54ba4dca04f7794 (patch)
treea16699b11a6e94eceb2e2ff87048ab09a8429199 /src
parentI hate ATanOfXY pt 2 (diff)
downloadre3-2d5f087041f45d81fafea98ea54ba4dca04f7794.tar
re3-2d5f087041f45d81fafea98ea54ba4dca04f7794.tar.gz
re3-2d5f087041f45d81fafea98ea54ba4dca04f7794.tar.bz2
re3-2d5f087041f45d81fafea98ea54ba4dca04f7794.tar.lz
re3-2d5f087041f45d81fafea98ea54ba4dca04f7794.tar.xz
re3-2d5f087041f45d81fafea98ea54ba4dca04f7794.tar.zst
re3-2d5f087041f45d81fafea98ea54ba4dca04f7794.zip
Diffstat (limited to 'src')
-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 7acfdfc8..f05c21eb 100644
--- a/src/control/Script3.cpp
+++ b/src/control/Script3.cpp
@@ -1714,6 +1714,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(1, pBoat->AutoPilot.m_nCruiseSpeed);
pBoat->AutoPilot.m_nAntiReverseTimer = CTimer::GetTimeInMilliseconds();
return 0;