aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-09-11 01:44:08 +0000
committerTravis Howell2004-09-11 01:44:08 +0000
commita636f2ce9187f22245136627bf6bf65d937fa019 (patch)
tree79931e923a69e9d15903df60f61d63847ee02101 /scumm
parent5e8ccb315f0f0144cbfa691c36a7fd0f86240e56 (diff)
downloadscummvm-rg350-a636f2ce9187f22245136627bf6bf65d937fa019.tar.gz
scummvm-rg350-a636f2ce9187f22245136627bf6bf65d937fa019.tar.bz2
scummvm-rg350-a636f2ce9187f22245136627bf6bf65d937fa019.zip
Not popping enough.
svn-id: r15001
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 52059b8de9..2804b1197c 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -1163,7 +1163,7 @@ void ScummEngine_v72he::o72_arrayOps() {
if (d == 0) {
defineArray(array, kDwordArray, 0, 0, 0, b + c);
}
- while (--c) {
+ while (c--) {
writeArray(array, 0, b + c, pop());
}
break;