diff options
author | Paul Gilbert | 2018-04-08 11:23:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-08 11:23:18 -0400 |
commit | ae6c2612a26c495eea25ce1c16dfe6f6813c0ca6 (patch) | |
tree | f374f7465d4303c7d3b223aec548db68b597afc4 | |
parent | d9fd6990504f9c26631677bea07334ae2755bd46 (diff) | |
download | scummvm-rg350-ae6c2612a26c495eea25ce1c16dfe6f6813c0ca6.tar.gz scummvm-rg350-ae6c2612a26c495eea25ce1c16dfe6f6813c0ca6.tar.bz2 scummvm-rg350-ae6c2612a26c495eea25ce1c16dfe6f6813c0ca6.zip |
XEEN: Fix checking if a specific monster is dead
-rw-r--r-- | engines/xeen/scripts.cpp | 2 |
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 ¶ms) { } 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; } |