summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-08 11:07:36 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-08 11:07:36 +0100
commit824ca7599ce380a12af0f42b892b7994b31e8f96 (patch)
tree99b9deac71aa6274fdab529028a245a21003613b /src/control
parentfix (diff)
downloadre3-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 'src/control')
-rw-r--r--src/control/Script4.cpp2
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: