[Scummvm-cvs-logs] SF.net SVN: scummvm:[52444] scummvm/trunk/engines/sci/graphics/compare.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sun Aug 29 20:19:11 CEST 2010


Revision: 52444
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52444&view=rev
Author:   m_kiewitz
Date:     2010-08-29 18:19:11 +0000 (Sun, 29 Aug 2010)

Log Message:
-----------
SCI: adding comment about invalid rect return val

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/compare.cpp

Modified: scummvm/trunk/engines/sci/graphics/compare.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/compare.cpp	2010-08-29 15:23:08 UTC (rev 52443)
+++ scummvm/trunk/engines/sci/graphics/compare.cpp	2010-08-29 18:19:11 UTC (rev 52444)
@@ -187,7 +187,7 @@
 
 	if (!checkRect.isValidRect()) {	// can occur in Iceman and Mother Goose - HACK? TODO: is this really occuring in sierra sci? check this
 		warning("kCan(t)BeHere - invalid rect %d, %d -> %d, %d", checkRect.left, checkRect.top, checkRect.right, checkRect.bottom);
-		return NULL_REG;
+		return NULL_REG; // this means "can be here"
 	}
 
 	adjustedRect = _coordAdjuster->onControl(checkRect);


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