From d3999850e78d67fe906a8334ec161550acf0be1b Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 3 Nov 2011 23:09:38 +0200 Subject: KYRA: Added FIXMEs for two odd checks --- engines/kyra/scene_v1.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/kyra/scene_v1.cpp') 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; -- cgit v1.2.3