diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-10 12:52:09 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-10 12:52:09 +0200 |
commit | 8a065b28107e5dc53e049d887d4782e941c4de97 (patch) | |
tree | ab84bdfaf135559342aabdb7cb4fee79f23ba649 /crawl-ref/source/los.cc | |
parent | 8d5ace4a7663d520024d16d0466365da8295c1b7 (diff) | |
download | crawl-ref-8a065b28107e5dc53e049d887d4782e941c4de97.tar.gz crawl-ref-8a065b28107e5dc53e049d887d4782e941c4de97.zip |
Comment.
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r-- | crawl-ref/source/los.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc index d2b869a02f..d66e276936 100644 --- a/crawl-ref/source/los.cc +++ b/crawl-ref/source/los.cc @@ -169,6 +169,8 @@ static std::vector<int> _find_nonduped_cellrays() // proper subsets. const int curx = ray_coord_x[curidx + cellnum]; const int cury = ray_coord_y[curidx + cellnum]; + + // Test against all previous fullrays. for (testidx = 0, testray = 0; testray < raynum; testidx += raylengths[testray++]) { |