mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-13 00:29:44 +00:00
3d:: sloppy range checking option
This commit is contained in:
@@ -1670,7 +1670,7 @@ bool do_draw(cell *c, const transmatrix& T) {
|
||||
}
|
||||
else {
|
||||
ld dist = hdist0(tC0(T));
|
||||
if(dist > sightranges[geometry] + corner_bonus) return false;
|
||||
if(dist > sightranges[geometry] + (vid.sloppy_3d ? 0 : corner_bonus)) return false;
|
||||
if(dist <= extra_generation_distance) setdist(c, 7, c);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user