summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
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 1b067f505c..835030f6eb 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_summoned = mons_is_summoned(monster);
+ const bool is_summoned = monster->is_summoned();
int pgain = 0;
if (!is_holy && !is_summoned && you.piety < MAX_PIETY)