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:23:49 +0100 |
commit | 7c38e2db24b45a7961d958b7e41db7758bff413e (patch) | |
tree | e9a27c4ce3706e8a575a57b8d30b30ea52116493 /src/control | |
parent | fixed uninitialized nearclip (diff) | |
download | re3-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.cpp | 1 |
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; |