diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-12 11:59:22 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-12 12:00:39 +0200 |
commit | ea87539549413ac9595762ec09fcbab4b3f0032b (patch) | |
tree | 63efcd7332f7246b9355381692e46c7b29346dc7 /crawl-ref/source/los.cc | |
parent | f1ccc39d1d32adc149a0f31d34bd18d6bd84b085 (diff) | |
download | crawl-ref-ea87539549413ac9595762ec09fcbab4b3f0032b.tar.gz crawl-ref-ea87539549413ac9595762ec09fcbab4b3f0032b.zip |
Fix complete LOS failure.
Rays weren't actually being registered; no idea how this got through.
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r-- | crawl-ref/source/los.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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() |