aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/xeen/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 47cea992d0..499dabcfb4 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -1226,7 +1226,7 @@ bool Scripts::cmdIfMapFlag(ParamsIterator &params) {
} else {
MazeMonster &monster = map._mobData._monsters[monsterNum];
- if ((uint)monster._position.x < 32 && (uint)monster._position.y > 32)
+ if ((uint)monster._position.x < 32 && (uint)monster._position.y < 32)
return true;
}