summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_los.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/l_los.cc')
-rw-r--r--crawl-ref/source/l_los.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_los.cc b/crawl-ref/source/l_los.cc
index 8130194210..1fe19e75bd 100644
--- a/crawl-ref/source/l_los.cc
+++ b/crawl-ref/source/l_los.cc
@@ -25,7 +25,7 @@ LUAFN(los_find_ray)
GETCOORD(a, 1, 2, map_bounds);
GETCOORD(b, 3, 4, map_bounds);
ray_def *ray = new ray_def;
- if (find_ray(a, b, false, *ray))
+ if (find_ray(a, b, false, *ray, 0, true))
{
lua_push_ray(ls, ray);
return (1);