aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v90he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 4e4031094e..70c358b8bb 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -1859,7 +1859,7 @@ void ScummEngine_v90he::o90_getPolygonOverlap() {
if (dist >= 2) {
dist = (int)sqrt((double)(dist + 1));
}
- push((dist > args1[2]) ? 1 : 0);
+ push((dist <= args1[2]) ? 1 : 0);
}
break;
case 3: