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/traps.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/traps.cc') diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index b46a9c59d6..0f36222956 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -235,7 +235,7 @@ void monster_caught_in_net(monsters *mon, bolt &pbolt) if (mons_is_insubstantial(mon->type)) { - if (mons_near(mon) && player_monster_visible(mon)) + if (you.can_see(mon)) { mprf("The net passes right through %s!", mon->name(DESC_NOCAP_THE).c_str()); -- cgit v1.2.3-54-g00ecf