aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v72he.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index a09fe386d4..16ac57f9eb 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -607,12 +607,12 @@ void ScummEngine_v72he::o72_compareStackList() {
for (i = 1; i < num; i++) {
if (args[i] == value) {
push(1);
- break;
+ return;
}
}
- } else {
- push(0);
}
+
+ push(0);
}
void ScummEngine_v72he::o72_wordArrayWrite() {