From 42876e1c49d03e594d7d129bd96fd9874ebe0106 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 10 Nov 2009 21:12:28 -0600 Subject: Add actor::undead_or_demonic() to check for those holiness types. --- crawl-ref/source/actor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/actor.h') diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index 1bd4c2cfe8..97bae34914 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -185,6 +185,7 @@ public: virtual int mons_species() const = 0; virtual mon_holy_type holiness() const = 0; + virtual bool undead_or_demonic() const = 0; virtual bool is_holy() const = 0; virtual bool is_unholy() const = 0; virtual bool is_evil() const = 0; -- cgit v1.2.3-54-g00ecf