summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-gear.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-10 21:26:29 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-10 22:04:09 -0600
commitaf420e351770b201f4d77d1892169b4111727c91 (patch)
tree0c7d51c3c2bd5fd6fc4f79b5124cd053de4cc566 /crawl-ref/source/mon-gear.cc
parent42876e1c49d03e594d7d129bd96fd9874ebe0106 (diff)
downloadcrawl-ref-af420e351770b201f4d77d1892169b4111727c91.tar.gz
crawl-ref-af420e351770b201f4d77d1892169b4111727c91.zip
Replace actor::is_unholy() with actor::undead_or_demonic().
Diffstat (limited to 'crawl-ref/source/mon-gear.cc')
-rw-r--r--crawl-ref/source/mon-gear.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-gear.cc b/crawl-ref/source/mon-gear.cc
index 7cb2860ea9..b1573d11a7 100644
--- a/crawl-ref/source/mon-gear.cc
+++ b/crawl-ref/source/mon-gear.cc
@@ -41,7 +41,7 @@ static void _give_monster_item(monsters *mon, int thing,
mthing.link = NON_ITEM;
unset_ident_flags(mthing, ISFLAG_IDENT_MASK);
- if (mon->is_unholy()
+ if (mon->undead_or_demonic()
&& (is_blessed_blade(mthing)
|| get_weapon_brand(mthing) == SPWPN_HOLY_WRATH))
{