aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2005-05-22 16:14:58 +0000
committerGregory Montoir2005-05-22 16:14:58 +0000
commitfbcbc04cb01ccad9b1450b8d4fda3544be30d224 (patch)
tree8c8f6ddf2b8d3d120413a0b10b53d45d7552fccc
parent93d90fd0577acc94f79c354ae1da8322b4caa326 (diff)
downloadscummvm-rg350-fbcbc04cb01ccad9b1450b8d4fda3544be30d224.tar.gz
scummvm-rg350-fbcbc04cb01ccad9b1450b8d4fda3544be30d224.tar.bz2
scummvm-rg350-fbcbc04cb01ccad9b1450b8d4fda3544be30d224.zip
correction
svn-id: r18222
-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: