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

bluegr bluegr at gmail.com
Tue Aug 21 10:56:04 CEST 2012


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:
a391599403 SCI: Update a comment


Commit: a391599403faf864f1583ababdba577fb6393afd
    https://github.com/scummvm/scummvm/commit/a391599403faf864f1583ababdba577fb6393afd
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-08-21T01:55:21-07:00

Commit Message:
SCI: Update a comment

Changed paths:
    engines/sci/graphics/frameout.cpp



diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 0098728..6628247 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -728,7 +728,9 @@ void GfxFrameout::kernelFrameout() {
 					g_sci->_gfxCompare->setNSRect(itemEntry->object, nsRect);
 				}
 
-				// FIXME: When does this happen, and why?
+				// Don't attempt to draw sprites that are outside the visible
+				// screen area. An example is the random people walking in
+				// Jackson Square in GK1.
 				if (itemEntry->celRect.bottom < 0 || itemEntry->celRect.top  >= _screen->getDisplayHeight() ||
 				    itemEntry->celRect.right  < 0 || itemEntry->celRect.left >= _screen->getDisplayWidth())
 					continue;






More information about the Scummvm-git-logs mailing list