summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-05 15:42:58 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-05 15:42:58 -0600
commit09b6736c53d8320cb57f16cc0130fc230a8dd37e (patch)
treef77c9ee78eef07ec9c085ad7fe5b39066771afd3 /crawl-ref/source/player.cc
parent361c86ab3c3017c9136cde225058f25e9f96a822 (diff)
downloadcrawl-ref-09b6736c53d8320cb57f16cc0130fc230a8dd37e.tar.gz
crawl-ref-09b6736c53d8320cb57f16cc0130fc230a8dd37e.zip
In is_chaotic(), mark player followers/monster priests of chaotic gods.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index e09b774ea6..c1615cd205 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6398,6 +6398,9 @@ bool player::is_unholy() const
bool player::is_chaotic() const
{
+ if (is_chaotic_god(religion))
+ return (true);
+
return (false);
}