Change from Quietust:

-Fix inventory in NES version of maniac

svn-id: r17447
This commit is contained in:
Travis Howell 2005-04-08 06:25:57 +00:00
parent 5bd6380b20
commit f04f741b8b

View File

@ -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;
}