diff options
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++]) { |