mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
SHERLOCK: SS: Fix hotspots remaining after items are picked up
This commit is contained in:
parent
f14146e3df
commit
1bf73b9cf1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user