summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index d6a8eabcd5..2984718518 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -711,6 +711,7 @@ void fallback_ray(const coord_def& source, const coord_def& target,
coord_def diff = target - source;
ray.r.dir.x = diff.x;
ray.r.dir.y = diff.y;
+ ray.on_corner = false;
}
// Count the number of matching features between two points along