summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index afb3e9dd43..d196cf824c 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1756,8 +1756,7 @@ void melee_attack::player_check_weapon_effects()
{
if (is_holy_item(*weapon))
did_god_conduct(DID_HOLY, 1);
-
- if (is_demonic(*weapon))
+ else if (is_demonic(*weapon))
did_god_conduct(DID_UNHOLY, 1);
}