aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-04 21:57:16 -0400
committerPaul Gilbert2016-10-04 21:57:16 -0400
commit1bf73b9cf1079cd7a6eaf0766d9f312330734624 (patch)
treebf6530cf8bacd8a5d3d7a9ef396ce10c004b5eab /engines/sherlock/scalpel
parentf14146e3df2c1a926311bcc38e917b79878cb3a8 (diff)
downloadscummvm-rg350-1bf73b9cf1079cd7a6eaf0766d9f312330734624.tar.gz
scummvm-rg350-1bf73b9cf1079cd7a6eaf0766d9f312330734624.tar.bz2
scummvm-rg350-1bf73b9cf1079cd7a6eaf0766d9f312330734624.zip
SHERLOCK: SS: Fix hotspots remaining after items are picked up
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel_scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp
index 11fb807c3b..3a7c04baee 100644
--- a/engines/sherlock/scalpel/scalpel_scene.cpp
+++ b/engines/sherlock/scalpel/scalpel_scene.cpp
@@ -741,7 +741,7 @@ int ScalpelScene::findBgShape(const Common::Point &pt) {
for (int idx = (int)_bgShapes.size() - 1; idx >= 0; --idx) {
Object &o = _bgShapes[idx];
if (o._type != INVALID && o._type != NO_SHAPE && o._type != HIDDEN
- && o._aType <= PERSON) {
+ && o._type != REMOVE && o._aType <= PERSON) {
if (o.getNewBounds().contains(pt))
return idx;
} else if (o._type == NO_SHAPE) {