summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.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/decks.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/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index b4ab338d39..04c15feea8 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -2546,7 +2546,7 @@ static void _crusade_card(int power, deck_rarity_type rarity)
if (is_good_god(you.religion)
|| you.religion == GOD_BEOGH
&& mons_species(monster->type) == MONS_ORC
- && !mons_is_summoned(monster)
+ && !monster->is_summoned()
&& !mons_is_shapeshifter(monster))
{
// Prevent assertion if the monster was