From 361c86ab3c3017c9136cde225058f25e9f96a822 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 5 Nov 2009 15:34:51 -0600 Subject: In is_evil(), mark player followers and monster priests of evil gods. --- crawl-ref/source/player.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 5d00539bc9..e09b774ea6 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6380,7 +6380,13 @@ mon_holy_type player::holiness() const bool player::is_evil() const { - return (is_unholy()); + if (is_unholy()) + return (true); + + if (is_evil_god(religion)) + return (true); + + return (false); } bool player::is_unholy() const -- cgit v1.2.3-54-g00ecf