diff options
-rw-r--r-- | script_v1.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/script_v1.cpp b/script_v1.cpp index 82c98e3409..c76db9b90c 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -1275,10 +1275,14 @@ void Scumm::o5_getDist() { o1 = getVarOrDirectWord(0x80); o2 = getVarOrDirectWord(0x40); r = getObjActToObjActDist(o1,o2); - + + if ((_gameId==GID_INDY4) && (o2 == 1212)) /* Fix for FOA, another odd bug */ + r = r - 20; + /* Fix for monkey 2, dunno what's wrong in scummvm */ if (_gameId==GID_MONKEY2 && vm.slot[_currentScript].number==40 && r<60) - r=60; + r=60; + setResult(r); } |