diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-28 21:23:49 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-28 21:25:15 +0100 |
commit | 7056f9954f0e5afc8aa9c8c25a725cce1439cfd6 (patch) | |
tree | 78269fe8cb080a6ef81f12e69fa15a1c3b25d4ee | |
parent | fix some little UB (diff) | |
download | re3-7056f9954f0e5afc8aa9c8c25a725cce1439cfd6.tar re3-7056f9954f0e5afc8aa9c8c25a725cce1439cfd6.tar.gz re3-7056f9954f0e5afc8aa9c8c25a725cce1439cfd6.tar.bz2 re3-7056f9954f0e5afc8aa9c8c25a725cce1439cfd6.tar.lz re3-7056f9954f0e5afc8aa9c8c25a725cce1439cfd6.tar.xz re3-7056f9954f0e5afc8aa9c8c25a725cce1439cfd6.tar.zst re3-7056f9954f0e5afc8aa9c8c25a725cce1439cfd6.zip |
-rw-r--r-- | src/control/Script3.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp index 1ac18fa8..acd3988f 100644 --- a/src/control/Script3.cpp +++ b/src/control/Script3.cpp @@ -1701,6 +1701,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; |