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.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 18a2729039..2cf65758cb 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -4533,7 +4533,9 @@ static int _affect_monster(bolt &beam, monsters *mon, item_def *item)
{
if (YOU_KILL(beam.thrower) && hurt_final > 0)
{
- const bool okay = !beam.effect_known;
+ const bool okay =
+ (beam.aux_source == "reading a scroll of immolation"
+ && !beam.effect_known);
if (is_sanctuary(mon->x, mon->y)
|| is_sanctuary(you.x_pos, you.y_pos))