Skip to content

Commit

Permalink
SHERLOCK: SS: Fix hotspots remaining after items are picked up
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 5, 2016
1 parent 2dca026 commit 8d48df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sherlock/scalpel/scalpel_scene.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 8d48df4

Please sign in to comment.