summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 24828e149c..58b2fa1bb6 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -1624,10 +1624,7 @@ bool player_angers_monster(monsters *creation)
{
// get the drawbacks, not the benefits...
// (to prevent demon-scumming)
- if ( (you.religion == GOD_ZIN ||
- you.religion == GOD_SHINING_ONE ||
- you.religion == GOD_ELYVILON) &&
- mons_is_unholy(creation) )
+ if (is_good_god(you.religion) && mons_is_unholy(creation))
{
if ( creation->attitude != ATT_HOSTILE )
{