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, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 983651bd42..1b71cd7711 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -5482,6 +5482,10 @@ static void _explosion_map( bolt &beam, int x, int y,
if (count > 10*r)
return;
+ // 3. check sanctuary
+ if (is_sanctuary(beam.target_x + x, beam.target_y + y))
+ return;
+
// 3. check to see if we're blocked by something
// specifically, we're blocked by WALLS. Not
// statues, idols, etc.