1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

2D3D:: in smart mode close cells are drawn (so that they appear on the radar)

This commit is contained in:
Zeno Rogue 2019-05-16 17:50:28 +02:00
parent 46443b3d6d
commit cfbb87ef91

View File

@ -1744,7 +1744,7 @@ bool do_draw(cell *c, const transmatrix& T) {
} }
if(cells_drawn > vid.cells_drawn_limit) return false; if(cells_drawn > vid.cells_drawn_limit) return false;
bool usr = vid.use_smart_range || quotient || euwrap; bool usr = vid.use_smart_range || quotient || euwrap;
if(usr && cells_drawn >= 50 && !in_smart_range(T)) return false; if(usr && cells_drawn >= 50 && !in_smart_range(T) && !(WDIM == 2 && GDIM == 3 && hdist0(tC0(T)) < 2.5)) return false;
if(vid.use_smart_range == 2 && !limited_generation(c)) return false; if(vid.use_smart_range == 2 && !limited_generation(c)) return false;
return true; return true;
} }