1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed 3-dim geometries not generating the land for the first 50 cells

This commit is contained in:
Zeno Rogue 2019-10-12 13:48:26 +02:00
parent edfb8084cf
commit c78da19a98

View File

@ -2043,7 +2043,7 @@ EX bool do_draw(cell *c, const transmatrix& T) {
if(hybrid::pmap) return hybrid::do_draw(c, T);
if(WDIM == 3) {
if(cells_drawn > vid.cells_drawn_limit) return false;
if(cells_drawn < 50) return true;
if(cells_drawn < 50) { limited_generation(c); return true; }
if(nil && pmodel == mdGeodesic) {
ld dist = hypot_d(3, inverse_exp(tC0(T), iLazy));
if(dist > sightranges[geometry] + (vid.sloppy_3d ? 0 : 0.9)) return false;