summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 1a6706447c..a27f985417 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -5856,7 +5856,7 @@ bool bolt::nasty_to(const monsters *mon) const
// No charming holy beings!
if (flavour == BEAM_CHARM)
- return (mon->holiness() == MH_HOLY);
+ return (mon->is_holy());
// Friendly and good neutral monsters don't mind being teleported.
if (flavour == BEAM_TELEPORT)