diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-21 23:16:42 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-21 23:16:42 +0000 |
commit | bf946a85fe99dda39802fd242474264101ddd14f (patch) | |
tree | b82d5360b43986f6fd6162c6d394227d4bb2d18d /crawl-ref/source/player.cc | |
parent | 476b01632e0b94acf85a25dbad32782720cde555 (diff) | |
download | crawl-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/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index e315003737..f5eee7b98a 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -4758,7 +4758,7 @@ void modify_stat(stat_type which_stat, char amount, bool suppress_msg, return; } - bool vis = mons_near(cause) && player_monster_visible(cause); + bool vis = you.can_see(cause); std::string name = cause->name(DESC_NOCAP_A, true); if (cause->has_ench(ENCH_SHAPESHIFTER)) |