aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v72he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index b3ec7cad4d..4853a53bfe 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -524,7 +524,7 @@ int ScummEngine_v72he::copyScriptString(byte *dst) {
*dst++ = _stringBuffer[i++];
} else {
writeVar(0, array);
- while (b = readArray(0, 0, i) != 0) {
+ while ((b = readArray(0, 0, i)) != 0) {
*dst++ = b;
i++;
}