aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2004-09-05 10:16:01 +0000
committerJonathan Gray2004-09-05 10:16:01 +0000
commit80c9d31f54fd20bd07a5ac7f539473dc5862c7bc (patch)
tree03b4dbcb40db565075ebafd05f9d85f1f7324e62 /scumm
parentc4065d0af952eddc93e24cd8d19cc564750f6c8e (diff)
downloadscummvm-rg350-80c9d31f54fd20bd07a5ac7f539473dc5862c7bc.tar.gz
scummvm-rg350-80c9d31f54fd20bd07a5ac7f539473dc5862c7bc.tar.bz2
scummvm-rg350-80c9d31f54fd20bd07a5ac7f539473dc5862c7bc.zip
compilation fix
svn-id: r14906
Diffstat (limited to 'scumm')
-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++;
}