1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-14 23:03:16 +00:00

ray:: no render past walls in racing

This commit is contained in:
Zeno Rogue 2019-10-26 00:27:31 +02:00
parent 1f1b04bf93
commit 5c335fb281

View File

@ -482,6 +482,7 @@ EX void cast() {
cl.add(viewctr.at->c7);
for(int i=0; i<isize(cl.lst); i++) {
cell *c = cl.lst[i];
if(racing::on && i > 0 && c->wall == waBarrier) continue;
forCellCM(c2, c) {
if(rays_generate) setdist(c2, 7, c);
cl.add(c2);