aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index b523b1b7ee..d516e5b026 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -255,6 +255,8 @@ int Scumm::findObject(int x, int y) {
for (i = 1; i < _numLocalObjects; i++) {
if ((_objs[i].obj_nr < 1) || getClass(_objs[i].obj_nr, 32))
continue;
+ if (_features & GF_AFTER_V2 && _objs[i].state & 0x2)
+ continue;
b = i;
do {
a = _objs[b].parentstate;