summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-11 22:14:39 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-11 22:14:39 +0000
commit4635b0cc39437bdcb8ac2f5ce31b656641fbee34 (patch)
treeecbbe58dda1a38b4763181a502a201f9515226b2 /crawl-ref/source/ouch.cc
parent9c12ec909c970fb14078342a45ffb1bc40d499c8 (diff)
downloadcrawl-ref-4635b0cc39437bdcb8ac2f5ce31b656641fbee34.tar.gz
crawl-ref-4635b0cc39437bdcb8ac2f5ce31b656641fbee34.zip
Make players who worship non-good gods vulnerable to cleansing flame.
Note that neutral god worshippers should currently only be blasted with it if they draw the Wrath card. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4200 c06c8d41-db1a-0410-9941-cceddc491573
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 6b12581dd8..10db39397e 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_evil_god(you.religion))
+ is_good_god(you.religion))
{
canned_msg( MSG_YOU_RESIST );
hurted = 0;