summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-07 17:33:57 +0300
committerCharles Otto <ottochar@gmail.com>2009-11-07 10:42:15 -0500
commit2ac4093ff9bbefed1ba51a3865507ac49a419bbd (patch)
tree70540da625559c02abc8094107f6a651c7e26f41 /crawl-ref/source/spells1.cc
parent96b804bb7a2bdc6ad25c6b45975bc0d4c8f19fbb (diff)
downloadcrawl-ref-2ac4093ff9bbefed1ba51a3865507ac49a419bbd.tar.gz
crawl-ref-2ac4093ff9bbefed1ba51a3865507ac49a419bbd.zip
Replace mons_is_summoned with monsters::is_summoned.
Signed-off-by: Charles Otto <ottochar@gmail.com>
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)