[Scummvm-cvs-logs] SF.net SVN: scummvm:[52452] scummvm/trunk/engines/sci/engine/kmovement.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Aug 30 12:49:32 CEST 2010


Revision: 52452
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52452&view=rev
Author:   m_kiewitz
Date:     2010-08-30 10:49:32 +0000 (Mon, 30 Aug 2010)

Log Message:
-----------
SCI: adding comments for kDoBresen

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kmovement.cpp

Modified: scummvm/trunk/engines/sci/engine/kmovement.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kmovement.cpp	2010-08-30 10:18:31 UTC (rev 52451)
+++ scummvm/trunk/engines/sci/engine/kmovement.cpp	2010-08-30 10:49:32 UTC (rev 52452)
@@ -275,11 +275,11 @@
 	if (g_sci->_features->handleMoveCount()) {
 		if (max_movcnt > movcnt) {
 			++movcnt;
-			writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt); // Needed for HQ1/Ogre?
-			return NULL_REG; // why do we exit here?
+			writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt);
+			return NULL_REG; // sierra sci1+ checks, if destination got reached in this case
 		} else {
 			movcnt = 0;
-			writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt); // Needed for HQ1/Ogre?
+			writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt);
 		}
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list