summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-07 22:24:48 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-07 22:24:48 -0600
commit4915a3d61f5c92669121713d4744fb60036dac2f (patch)
tree5a35d090d5b236da9dfca1c4e5ab8ab09aac32a1 /crawl-ref/source/spells1.cc
parent6b3f882a81bae89affecdcba5e24df1fb51e8cf4 (diff)
downloadcrawl-ref-4915a3d61f5c92669121713d4744fb60036dac2f.tar.gz
crawl-ref-4915a3d61f5c92669121713d4744fb60036dac2f.zip
Remove mons_is_holy(), as it's redundant.
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index b32934ed84..548e7491ad 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -818,7 +818,7 @@ static int _healing_spell(int healed, bool divine_ability,
{
did_something = true;
- const bool is_holy = mons_is_holy(monster);
+ const bool is_holy = monster->holiness() == MH_HOLY;
const bool is_summoned = monster->is_summoned();
int pgain = 0;