mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-31 22:53:54 +00:00
Change from Quietust:
-Fix inventory in NES version of maniac svn-id: r17447
This commit is contained in:
parent
5bd6380b20
commit
f04f741b8b
@ -373,6 +373,10 @@ int ScummEngine::findObject(int x, int y) {
|
||||
}
|
||||
} while ((_objs[b].state & mask) == a);
|
||||
}
|
||||
|
||||
if ((_features & GF_NES) && (v2_mouseover_box != -1))
|
||||
return findInventory(VAR(VAR_EGO), v2_mouseover_box + _inventoryOffset + 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user