From 9f7846c3bb2d333d79e8e4c74933f7d13868c590 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Mon, 22 Dec 2014 18:27:30 -0500 Subject: [PATCH] Fix seeing monsters through walls in combat mode --- osx/boe.graphutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osx/boe.graphutil.cpp b/osx/boe.graphutil.cpp index 36a30353..e1a35f03 100644 --- a/osx/boe.graphutil.cpp +++ b/osx/boe.graphutil.cpp @@ -255,7 +255,7 @@ void draw_monsters() { if(is_combat()) { for(i = 0; i < univ.town->max_monst(); i++) if((univ.town.monst[i].active != 0) && (univ.town.monst[i].spec_skill != 11)) - if(point_onscreen(center,univ.town.monst[i].cur_loc) || party_can_see_monst(i)) { + if(point_onscreen(center,univ.town.monst[i].cur_loc) && party_can_see_monst(i)) { check_if_monst_seen(univ.town.monst[i].number,univ.town.monst[i].cur_loc); where_draw.x = univ.town.monst[i].cur_loc.x - center.x + 4; where_draw.y = univ.town.monst[i].cur_loc.y - center.y + 4;