summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index e75feffe9b..0188a94e9d 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -533,7 +533,7 @@ static bool _ely_heals_monster(monsters *monster, killer_type killer, int i)
ASSERT(you.religion != GOD_ELYVILON);
god_type god = GOD_ELYVILON;
- if (!you.penance[god] || !is_evil_god(you.religion))
+ if (!you.penance[god] || !god_hates_your_god(god))
return (false);
const int ely_penance = you.penance[god];