diff options
-rw-r--r-- | scumm/script_v90he.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp index 70c358b8bb..ff975309bf 100644 --- a/scumm/script_v90he.cpp +++ b/scumm/script_v90he.cpp @@ -1859,7 +1859,11 @@ void ScummEngine_v90he::o90_getPolygonOverlap() { if (dist >= 2) { dist = (int)sqrt((double)(dist + 1)); } - push((dist <= args1[2]) ? 1 : 0); + if (_heversion >= 98) { + push((dist <= args1[2]) ? 1 : 0); + } else { + push((dist > args1[2]) ? 1 : 0); + } } break; case 3: |