Skip to content

Commit

Permalink
XEEN: Fix checking if a specific monster is dead
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Apr 8, 2018
1 parent d9fd699 commit ae6c261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/scripts.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit ae6c261

Please sign in to comment.