summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-16 19:43:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-16 19:43:17 +0000
commita0dc8e13e55a26a7450a40571db0a986fb98175a (patch)
treeed7cfcf6e8040148c6ab57231be7a546d0c4ad9f /crawl-ref/source/spells1.cc
parentb3d8365da8efb695a18b85146a4e50ee0e9d7698 (diff)
downloadcrawl-ref-a0dc8e13e55a26a7450a40571db0a986fb98175a.tar.gz
crawl-ref-a0dc8e13e55a26a7450a40571db0a986fb98175a.zip
Clean up some more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5886 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 0ed1ac0e53..a030b98b68 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -693,8 +693,7 @@ static int _healing_spell( int healed, int target_x = -1, int target_y = -1)
monsters *monster = &menv[mgr];
// don't heal monster you can't pacify
- if (you.religion == GOD_ELYVILON && _mons_hostile(monster)
- && !_can_pacify_monster(monster, healed))
+ if (you.religion == GOD_ELYVILON && !_can_pacify_monster(monster, healed))
{
canned_msg(MSG_NOTHING_HAPPENS);
return -1;