diff options
author | Filippos Karapetis | 2010-08-20 10:49:01 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-08-20 10:49:01 +0000 |
commit | 087a15ae0ea6b8869fe6613652781fa82c8140b3 (patch) | |
tree | c2e23946b15c9e40f2e0b6987e1ed3d14903bb35 /engines/sci/graphics | |
parent | 31c889d7ce26c0386b39ee8664d05e87c53b8381 (diff) | |
download | scummvm-rg350-087a15ae0ea6b8869fe6613652781fa82c8140b3.tar.gz scummvm-rg350-087a15ae0ea6b8869fe6613652781fa82c8140b3.tar.bz2 scummvm-rg350-087a15ae0ea6b8869fe6613652781fa82c8140b3.zip |
SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere
svn-id: r52223
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 1c961b2ad6..8aa03950bd 100644 --- a/engines/sci/graphics/compare.cpp +++ b/engines/sci/graphics/compare.cpp @@ -185,7 +185,7 @@ reg_t GfxCompare::kernelCanBeHere(reg_t curObject, reg_t listReference) { checkRect.right = readSelectorValue(_segMan, curObject, SELECTOR(brRight)); checkRect.bottom = readSelectorValue(_segMan, curObject, SELECTOR(brBottom)); - if (!checkRect.isValidRect()) { // can occur in Iceman - HACK? TODO: is this really occuring in sierra sci? check this + 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; } |