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/player.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/player.h') diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 3f19574b95..900d6bb52f 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -439,6 +439,7 @@ public: int mons_species() const; mon_holy_type holiness() const; + bool undead_or_demonic() const; bool is_holy() const; bool is_unholy() const; bool is_evil() const; -- cgit v1.2.3-54-g00ecf