SHERLOCK: SS: Fix hotspots remaining after items are picked up

This commit is contained in:
Paul Gilbert 2016-10-04 21:57:16 -04:00
parent f14146e3df
commit 1bf73b9cf1

View File

@ -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) {