summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-02-07 21:33:30 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-02-07 21:33:30 +0100
commit6db96753d20c56babf70693bbe8a3ea0c6cdd955 (patch)
treedc1e04d614737bb23f25693ec6719d93624bde95 /src/control
parentferries (diff)
downloadre3-6db96753d20c56babf70693bbe8a3ea0c6cdd955.tar
re3-6db96753d20c56babf70693bbe8a3ea0c6cdd955.tar.gz
re3-6db96753d20c56babf70693bbe8a3ea0c6cdd955.tar.bz2
re3-6db96753d20c56babf70693bbe8a3ea0c6cdd955.tar.lz
re3-6db96753d20c56babf70693bbe8a3ea0c6cdd955.tar.xz
re3-6db96753d20c56babf70693bbe8a3ea0c6cdd955.tar.zst
re3-6db96753d20c56babf70693bbe8a3ea0c6cdd955.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script9.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/control/Script9.cpp b/src/control/Script9.cpp
index 7bf7bcc6..b55a1df5 100644
--- a/src/control/Script9.cpp
+++ b/src/control/Script9.cpp
@@ -72,7 +72,6 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command)
CFerry* pFerry = CFerry::GetFerry(GET_INTEGER_PARAM(0));
script_assert(pFerry);
UpdateCompareFlag(pFerry->IsDoorOpen());
- UpdateCompareFlag(false);
return 0;
}
case COMMAND_IS_FERRY_DOOR_CLOSED:
@@ -81,7 +80,6 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command)
CFerry* pFerry = CFerry::GetFerry(GET_INTEGER_PARAM(0));
script_assert(pFerry);
UpdateCompareFlag(pFerry->IsDoorClosed());
- UpdateCompareFlag(true);
return 0;
}
case COMMAND_SKIP_FERRY_TO_NEXT_DOCK: