From cafb78a83cd2a943b71f05638b682dfa8bc31a66 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 23 May 2003 01:33:43 +0000 Subject: [PATCH] v2 fix for o5_getDist (thx segra) svn-id: r7845 --- scumm/script_v5.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index aaa90270daa..04a4a96bd7c 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1132,6 +1132,9 @@ void Scumm_v5::o5_getDist() { if (_gameId == GID_MONKEY2 && vm.slot[_currentScript].number == 40 && r < 60) r = 60; + if (_features & GF_AFTER_V2) + r /= 8; + setResult(r); }