diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 13:07:36 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 13:07:36 +0300 |
commit | 824ca7599ce380a12af0f42b892b7994b31e8f96 (patch) | |
tree | 99b9deac71aa6274fdab529028a245a21003613b /src/control | |
parent | f8569a74cbbd8366a39d63c8b6699a7fdf24e14a (diff) |
wtf
Diffstat (limited to 'src/control')
-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: |