summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index c26aad6157..4616c13fad 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -6426,8 +6426,7 @@ void god_pitch(god_type which_god)
// return, or not allow worshippers from other religions. -- bwr
// Gods can be racist...
- const bool you_evil = (you.is_undead || you.species == SP_DEMONSPAWN);
- if (you_evil && is_good_god(which_god)
+ if (player_is_unholy() && is_good_god(which_god)
|| which_god == GOD_BEOGH && you.species != SP_HILL_ORC)
{
you.turn_is_over = false;