diff options
author | Max Horn | 2003-05-23 01:33:43 +0000 |
---|---|---|
committer | Max Horn | 2003-05-23 01:33:43 +0000 |
commit | cafb78a83cd2a943b71f05638b682dfa8bc31a66 (patch) | |
tree | 42c149d4ef0dbeb82f32440a0fc146a64012694b | |
parent | 1740bfcee3be5c796a6fd1fdaf848686602c09f3 (diff) | |
download | scummvm-rg350-cafb78a83cd2a943b71f05638b682dfa8bc31a66.tar.gz scummvm-rg350-cafb78a83cd2a943b71f05638b682dfa8bc31a66.tar.bz2 scummvm-rg350-cafb78a83cd2a943b71f05638b682dfa8bc31a66.zip |
v2 fix for o5_getDist (thx segra)
svn-id: r7845
-rw-r--r-- | scumm/script_v5.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index aaa90270da..04a4a96bd7 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); } |