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 976d62b1a5..4f5e94ba9e 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -5266,7 +5266,7 @@ mon_resist_type bolt::apply_enchantment_to_monster(monsters* mon)
obvious_effect = true;
msg_generated = true; // to avoid duplicate "nothing happens"
}
- else if (heal_monster(mon, 5 + damage.roll(), false))
+ else if (mon->heal(5 + damage.roll()))
{
if (mon->hit_points == mon->max_hit_points)
{