summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-08 04:41:28 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-08 04:41:28 +0000
commit3c6fc5737751c19302e9c072ac74fb99472e8934 (patch)
tree4c84460e86454bcad6c92e6c9a859395986fd569
parentdb05610e7be495dba7f224f6c060e2a769d44a35 (diff)
downloadcrawl-ref-3c6fc5737751c19302e9c072ac74fb99472e8934.tar.gz
crawl-ref-3c6fc5737751c19302e9c072ac74fb99472e8934.zip
Apply trunk r10642 to 0.5.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10643 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/view.cc2
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.