summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2020-12-05 20:26:45 +0100
committerGitHub <noreply@github.com>2020-12-05 20:26:45 +0100
commitefb28b888d4ed89e1f8fc770a66ddfd7e03f4942 (patch)
tree3815b61428437f9a94f69d96a61163adfdf79ba1 /src/control
parentfix pMemoryTop (diff)
downloadre3-efb28b888d4ed89e1f8fc770a66ddfd7e03f4942.tar
re3-efb28b888d4ed89e1f8fc770a66ddfd7e03f4942.tar.gz
re3-efb28b888d4ed89e1f8fc770a66ddfd7e03f4942.tar.bz2
re3-efb28b888d4ed89e1f8fc770a66ddfd7e03f4942.tar.lz
re3-efb28b888d4ed89e1f8fc770a66ddfd7e03f4942.tar.xz
re3-efb28b888d4ed89e1f8fc770a66ddfd7e03f4942.tar.zst
re3-efb28b888d4ed89e1f8fc770a66ddfd7e03f4942.zip
Diffstat (limited to '')
-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 f5fb9781..78da2d96 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -89,7 +89,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: