diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 11:07:36 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 11:07:36 +0100 |
commit | 824ca7599ce380a12af0f42b892b7994b31e8f96 (patch) | |
tree | 99b9deac71aa6274fdab529028a245a21003613b | |
parent | fix (diff) | |
download | re3-824ca7599ce380a12af0f42b892b7994b31e8f96.tar re3-824ca7599ce380a12af0f42b892b7994b31e8f96.tar.gz re3-824ca7599ce380a12af0f42b892b7994b31e8f96.tar.bz2 re3-824ca7599ce380a12af0f42b892b7994b31e8f96.tar.lz re3-824ca7599ce380a12af0f42b892b7994b31e8f96.tar.xz re3-824ca7599ce380a12af0f42b892b7994b31e8f96.tar.zst re3-824ca7599ce380a12af0f42b892b7994b31e8f96.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp index 5ffbac2e..a3ded9a5 100644 --- a/src/control/Script4.cpp +++ b/src/control/Script4.cpp @@ -92,7 +92,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command) CollectParameters(&m_nIp, 2); CBoat* pBoat = (CBoat*)CPools::GetVehiclePool()->GetAt(ScriptParams[0]); script_assert(pBoat && pBoat->m_vehType == VEHICLE_TYPE_BOAT); - pBoat->m_bIsAnchored = (ScriptParams[1] == 0); + pBoat->m_bIsAnchored = (ScriptParams[1] != 0); return 0; } case COMMAND_SET_ZONE_GROUP: |