aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v6.cpp2
-rw-r--r--scumm/script_v8.cpp2
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