diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 00:32:34 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 00:32:34 +0000 |
commit | b5890e8e1fde868016e260b98170e00c67947601 (patch) | |
tree | bac48b9c21dca830630e5b5c38b0dc0a7bde0ea2 /crawl-ref/source/ouch.cc | |
parent | 79979ccfd128da4eaad76de78dd031632901b687 (diff) | |
download | crawl-ref-b5890e8e1fde868016e260b98170e00c67947601.tar.gz crawl-ref-b5890e8e1fde868016e260b98170e00c67947601.zip |
Fix inverted logic.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8521 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 3ad79c6348..35892d7e22 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -220,7 +220,7 @@ int check_your_resists(int hurted, beam_type flavour) case BEAM_HOLY: if (is_good_god(you.religion)) hurted = 0; - else if (you.is_undead || you.species != SP_DEMONSPAWN) + else if (you.is_undead || you.species == SP_DEMONSPAWN) hurted = (hurted * 3) / 2; else if (!is_evil_god(you.religion)) hurted /= 2; |