mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-17 19:48:06 +00:00
reg3: reduced barlev inside cyclic lands
This commit is contained in:
10
landgen.cpp
10
landgen.cpp
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user