diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index 7902389c47..0cbc1dbef4 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -6204,7 +6204,7 @@ void monster_los::check_los_beam(int dx, int dy) // that shooting a ray into that direction could bring us, esp. // as earlier grids in the ray will already have been handled, and // out of bounds grids are simply skipped in any LoS check. - if (!map_bounds(tx, ty)); + if (!map_bounds(tx, ty)) continue; // Already calculated a beam to (tx, ty), don't do so again. |