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:
parent
da2bcb1694
commit
e2f944c6d2
10
landgen.cpp
10
landgen.cpp
@ -2718,8 +2718,12 @@ EX void setdist(cell *c, int d, cell *from) {
|
||||
raiseBuggyGeneration(c, "No landparam set");
|
||||
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);
|
||||
|
||||
if(buggyGeneration) return;
|
||||
@ -2762,7 +2766,7 @@ EX void setdist(cell *c, int d, cell *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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user