mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
don't touch untouchable objects in V2 games
svn-id: r7664
This commit is contained in:
parent
40ce9cdcc3
commit
a2ce5b6383
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user