diff options
author | Paul Gilbert | 2015-04-30 15:38:13 -1000 |
---|---|---|
committer | Paul Gilbert | 2015-04-30 15:38:13 -1000 |
commit | e25fbfa8e4a2e6ca2ef187630479151107f8ff19 (patch) | |
tree | 7f7f57c816868fda926c9188d69b67437ef75341 /engines/sherlock | |
parent | 862d63c2a6c8b55bd472809508ba119ca41397dd (diff) | |
download | scummvm-rg350-e25fbfa8e4a2e6ca2ef187630479151107f8ff19.tar.gz scummvm-rg350-e25fbfa8e4a2e6ca2ef187630479151107f8ff19.tar.bz2 scummvm-rg350-e25fbfa8e4a2e6ca2ef187630479151107f8ff19.zip |
SHERLOCK: Fix initial entry conversation with coroner at morgue
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/objects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp index f353844774..3dc50e61b1 100644 --- a/engines/sherlock/objects.cpp +++ b/engines/sherlock/objects.cpp @@ -200,12 +200,12 @@ void Sprite::checkSprite() { if (obj._type == NO_SHAPE) { objBounds = Common::Rect(obj._position.x, obj._position.y, - obj._position.x + obj._noShapeSize.x, obj._position.y + obj._noShapeSize.y); + obj._position.x + obj._noShapeSize.x + 1, obj._position.y + obj._noShapeSize.y + 1); } else { int xp = obj._position.x + obj._imageFrame->_offset.x; int yp = obj._position.y + obj._imageFrame->_offset.y; objBounds = Common::Rect(xp, yp, - xp + obj._imageFrame->_frame.w, yp + obj._imageFrame->_frame.h); + xp + obj._imageFrame->_frame.w + 1, yp + obj._imageFrame->_frame.h + 1); } if (objBounds.contains(pt)) { |