summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 10db39397e..6b12581dd8 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -242,7 +242,7 @@ int check_your_resists(int hurted, beam_type flavour)
case BEAM_HOLY:
if (!you.is_undead && you.species != SP_DEMONSPAWN &&
- is_good_god(you.religion))
+ !is_evil_god(you.religion))
{
canned_msg( MSG_YOU_RESIST );
hurted = 0;