diff options
author | Martin Kiewitz | 2010-08-29 18:19:11 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-29 18:19:11 +0000 |
commit | fc3dfd1bf7fe319c8ab29b9b1991b798c6b83109 (patch) | |
tree | d44f197e395724e86929d17dacc224d3e03a4cfd /engines/sci/graphics | |
parent | 2fb722056c94ee8d2b14ef195bb910fb6bef9587 (diff) | |
download | scummvm-rg350-fc3dfd1bf7fe319c8ab29b9b1991b798c6b83109.tar.gz scummvm-rg350-fc3dfd1bf7fe319c8ab29b9b1991b798c6b83109.tar.bz2 scummvm-rg350-fc3dfd1bf7fe319c8ab29b9b1991b798c6b83109.zip |
SCI: adding comment about invalid rect return val
svn-id: r52444
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/compare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/compare.cpp b/engines/sci/graphics/compare.cpp index 8aa03950bd..1991837102 100644 --- a/engines/sci/graphics/compare.cpp +++ b/engines/sci/graphics/compare.cpp @@ -187,7 +187,7 @@ reg_t GfxCompare::kernelCanBeHere(reg_t curObject, reg_t listReference) { 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); |