diff options
author | Filippos Karapetis | 2012-08-21 11:55:21 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-08-21 11:55:21 +0300 |
commit | a391599403faf864f1583ababdba577fb6393afd (patch) | |
tree | 0d08d9f64d1235959874af140cd34961353db7c0 | |
parent | 7d436622a8e10437488f6dfa930e3ff15e254a55 (diff) | |
download | scummvm-rg350-a391599403faf864f1583ababdba577fb6393afd.tar.gz scummvm-rg350-a391599403faf864f1583ababdba577fb6393afd.tar.bz2 scummvm-rg350-a391599403faf864f1583ababdba577fb6393afd.zip |
SCI: Update a comment
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 0098728e5d..6628247127 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; |