aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v7he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index 0f04aafe30..cc43d990ae 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -807,7 +807,7 @@ void ScummEngine_v7he::o7_unknownEF() {
array = readVar(0);
- if (len = -1) {
+ if (len == -1) {
len2 = resStrLen(getStringAddress(array2));
len = 0;
} else {