summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-17 19:14:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-17 19:14:30 +0000
commit799fc2a7363c133c9d509306f67e26312ba66cb7 (patch)
tree25caf31722970812ab1cd02d59610a58b56ae576 /crawl-ref
parentdf100fdbeb2be2a7150de7ac9caddb4b419434be (diff)
downloadcrawl-ref-799fc2a7363c133c9d509306f67e26312ba66cb7.tar.gz
crawl-ref-799fc2a7363c133c9d509306f67e26312ba66cb7.zip
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5105 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 8fa47a82be..2850a09461 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -1217,7 +1217,7 @@ char burn_freeze(int pow, beam_type flavour)
if (is_unchivalric_attack(&you, monster, monster))
did_god_conduct(DID_UNCHIVALRIC_ATTACK, 5, true, monster);
- if (mons_holiness(monster) == MH_HOLY)
+ if (mons_is_holy(monster))
did_god_conduct(DID_ATTACK_HOLY, monster->hit_dice);
}