diff options
author | Max Horn | 2004-03-15 21:48:54 +0000 |
---|---|---|
committer | Max Horn | 2004-03-15 21:48:54 +0000 |
commit | ff17962df529691bc35d43dd90a3eff67a356bd1 (patch) | |
tree | 11e8523e3ad56c93b45523ad83a356d946d416ae | |
parent | 54d549bd606b4d151a714f6fd642959968e017a0 (diff) | |
download | scummvm-rg350-ff17962df529691bc35d43dd90a3eff67a356bd1.tar.gz scummvm-rg350-ff17962df529691bc35d43dd90a3eff67a356bd1.tar.bz2 scummvm-rg350-ff17962df529691bc35d43dd90a3eff67a356bd1.zip |
cleanup
svn-id: r13312
-rw-r--r-- | scumm/script_v6.cpp | 2 | ||||
-rw-r--r-- | scumm/script_v8.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 49051548f2..81c1940e1a 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -566,7 +566,7 @@ int ScummEngine_v6::getStackList(int *args, uint maxnum) { error("Too many items %d in stack list, max %d", num, maxnum); i = num; - while (((int)--i) >= 0) { + while (i--) { args[i] = pop(); } diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index dde8b6b269..48df426e0e 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -555,7 +555,7 @@ void ScummEngine_v8::readArrayFromIndexFile() { a = _fileHandle.readUint32LE(); b = _fileHandle.readUint32LE(); - // FIXME - seems the COMI scripts have a bug related to array 436. + // WORKAROUND: seems the COMI scripts have a bug related to array 436. // and visible in script 2015, room 20. Basically, the dimensions // are swapped in the definition of the array, but its obvious // that this must be a script bug simply by looking at the defintions |