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

reg3: reduced barlev inside cyclic lands

This commit is contained in:
Zeno Rogue 2020-01-28 19:46:42 +01:00
parent da2bcb1694
commit e2f944c6d2

View File

@ -2718,8 +2718,12 @@ EX void setdist(cell *c, int d, cell *from) {
raiseBuggyGeneration(c, "No landparam set"); raiseBuggyGeneration(c, "No landparam set");
return; return;
} }
if(d == BARLEV && !euclid && c != cwt.at) int reduced_barlev = BARLEV;
if(BARLEV == 8 && cwt.at->master->alt)
reduced_barlev = 7;
if(d == reduced_barlev && !euclid && c != cwt.at)
buildBigStuff(c, from); buildBigStuff(c, from);
if(buggyGeneration) return; if(buggyGeneration) return;
@ -2762,7 +2766,7 @@ EX void setdist(cell *c, int d, cell *from) {
giantLandSwitch(c, d, from); giantLandSwitch(c, d, from);
if(d == min(BARLEV, 9)) moreBigStuff(c); if(d == min(reduced_barlev, 9)) moreBigStuff(c);
if(d == 7) repairLandgen(c); if(d == 7) repairLandgen(c);