aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/scene_v1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/scene_v1.cpp b/engines/kyra/scene_v1.cpp
index 5319d4e657..059c42ec5e 100644
--- a/engines/kyra/scene_v1.cpp
+++ b/engines/kyra/scene_v1.cpp
@@ -313,6 +313,7 @@ int KyraEngine_v1::getMoveTableSize(int *moveTable) {
}
if (tempPosition == moveTable && *tempPosition == 9) {
+ // FIXME: This check is odd. Perhaps it should check if *tempPosition == 9 ?
while (*tempPosition != 8 && *tempPosition == 9)
++tempPosition;
@@ -323,6 +324,7 @@ int KyraEngine_v1::getMoveTableSize(int *moveTable) {
oldPosition = tempPosition;
curPosition = oldPosition+1;
+ // FIXME: This check is odd. Perhaps it should check if *tempPosition == 9 ?
while (*curPosition != 8 && *curPosition == 9)
++curPosition;