summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-21 23:16:42 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-21 23:16:42 +0000
commitbf946a85fe99dda39802fd242474264101ddd14f (patch)
treeb82d5360b43986f6fd6162c6d394227d4bb2d18d /crawl-ref/source/religion.cc
parent476b01632e0b94acf85a25dbad32782720cde555 (diff)
downloadcrawl-ref-bf946a85fe99dda39802fd242474264101ddd14f.tar.gz
crawl-ref-bf946a85fe99dda39802fd242474264101ddd14f.zip
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
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index c5a4e71e95..6fb2d174ee 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -1822,7 +1822,7 @@ blessing_done:
whom = "you";
else
{
- if (mons_near(follower) && player_monster_visible(follower))
+ if (you.can_see(follower))
whom = follower->name(DESC_NOCAP_THE);
else
whom = "a follower";