fixed #555647; got rid of some FIXME's

svn-id: r4570
This commit is contained in:
Max Horn 2002-07-16 14:54:49 +00:00
parent e3ea2d3ad4
commit b019de6872
3 changed files with 22 additions and 27 deletions

View file

@ -1345,14 +1345,6 @@ void Scumm::o5_getDist()
o2 = getVarOrDirectWord(0x40);
r = getObjActToObjActDist(o1, o2);
/* FIXME: Fix for monkey 2, dunno what's wrong in scummvm */
if (_gameId == GID_MONKEY2 && vm.slot[_currentScript].number == 40 && r < 60)
r = 60;
/* FIXME: Patch to allow TV cord to be picked up in Zak256 */
if ((_gameId == GID_ZAK256) && (r > 0))
r--;
setResult(r);
}