From b5ea5e1bc66f90cf3644dabac2d9c00697e68d4d Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 5 Nov 2009 14:51:19 -0600 Subject: Create an is_evil() function in the actor interface. Currently, only unholy monsters are marked as evil this way. --- 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 50750abee6..ac4726c95a 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -167,6 +167,7 @@ public: virtual int mons_species() const = 0; virtual mon_holy_type holiness() const = 0; + virtual bool is_evil() const = 0; virtual bool is_unholy() const = 0; virtual bool is_chaotic() const = 0; virtual int res_fire() const = 0; -- cgit v1.2.3-54-g00ecf