From eb9361751933e33679d2eeed95f82366a17ef8b8 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sat, 19 Jul 2008 16:31:18 +0000 Subject: Applying r6613 to 0.4. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6614 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3-54-g00ecf