From af420e351770b201f4d77d1892169b4111727c91 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 10 Nov 2009 21:26:29 -0600 Subject: Replace actor::is_unholy() with actor::undead_or_demonic(). --- crawl-ref/source/spells2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells2.cc') 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"); -- cgit v1.2.3-54-g00ecf