summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 cb26d20b5b..c44a14ea82 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -5539,7 +5539,7 @@ static void _explosion_map( bolt &beam, int x, int y,
const coord_def loc(beam.target_x + x, beam.target_y + y);
// Make sure we haven't run off the map.
- if (map_bounds(loc))
+ if (!map_bounds(loc))
return;
// Check sanctuary.