From bf946a85fe99dda39802fd242474264101ddd14f Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 21 Feb 2009 23:16:42 +0000 Subject: For 2089989, reallow friendlies to walk into your damaging clouds in some cases, regardless of god. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9145 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/view.cc') diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index b07df850cf..75b19b6c5b 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -5007,7 +5007,7 @@ void view_update_at(const coord_def &pos) void flash_monster_colour(const monsters *mon, unsigned char fmc_colour, int fmc_delay) { - if (mons_near(mon) && player_monster_visible(mon)) + if (you.can_see(mon)) { unsigned char old_flash_colour = you.flash_colour; coord_def c(mon->pos()); -- cgit v1.2.3-54-g00ecf