1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-08 02:30:15 +00:00

3d:: corner_bonus

This commit is contained in:
Zeno Rogue
2019-05-04 18:26:59 +02:00
parent 3da6090320
commit aefea03ce1
3 changed files with 8 additions and 2 deletions

View File

@@ -1670,7 +1670,7 @@ bool do_draw(cell *c, const transmatrix& T) {
}
else {
ld dist = hdist0(tC0(T));
if(dist > sightranges[geometry]) return false;
if(dist > sightranges[geometry] + corner_bonus) return false;
if(dist <= extra_generation_distance) setdist(c, 7, c);
}
return true;