[Scummvm-cvs-logs] scummvm master -> d3999850e78d67fe906a8334ec161550acf0be1b

bluegr md5 at scummvm.org
Thu Nov 3 22:10:23 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d3999850e7 KYRA: Added FIXMEs for two odd checks


Commit: d3999850e78d67fe906a8334ec161550acf0be1b
    https://github.com/scummvm/scummvm/commit/d3999850e78d67fe906a8334ec161550acf0be1b
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-11-03T14:09:38-07:00

Commit Message:
KYRA: Added FIXMEs for two odd checks

Changed paths:
    engines/kyra/scene_v1.cpp



diff --git a/engines/kyra/scene_v1.cpp b/engines/kyra/scene_v1.cpp
index 5319d4e..059c42e 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;
 






More information about the Scummvm-git-logs mailing list