summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.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/spells2.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/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index bf1a9d5414..57293bf40d 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -746,7 +746,7 @@ bool vampiric_drain(int pow, const dist &vmove)
return (false);
}
- if (monster->is_unholy())
+ if (monster->undead_or_demonic())
{
mpr("Aaaarggghhhhh!");
dec_hp(random2avg(39, 2) + 10, false, "vampiric drain backlash");