From ea87539549413ac9595762ec09fcbab4b3f0032b Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 12 Oct 2009 11:59:22 +0200 Subject: Fix complete LOS failure. Rays weren't actually being registered; no idea how this got through. --- crawl-ref/source/los.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/los.cc') diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc index fd042901e2..64f04818dc 100644 --- a/crawl-ref/source/los.cc +++ b/crawl-ref/source/los.cc @@ -232,6 +232,7 @@ static void _register_ray(double accx, double accy, double slope) ray.length = coords.size(); for (unsigned int i = 0; i < coords.size(); i++) ray_coords.push_back(coords[i]); + fullrays.push_back(ray); } static void _create_blockrays() -- cgit v1.2.3-54-g00ecf