mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 18:30:34 +00:00
fixed land generation becoming glitched in standard modes when Lost Mountain or Clearing becomes unlocked
This commit is contained in:
parent
9e4c883001
commit
c2f1f4371c
@ -2026,7 +2026,7 @@ EX void buildCamelot(cell *c) {
|
||||
if(c->land == laNone) printf("Camelot\n"); // NONEDEBUG
|
||||
}
|
||||
}
|
||||
else {
|
||||
else if(ls::hv_structure()) {
|
||||
setland(c, eLand(altmap::orig_land(c->master->alt->alt)));
|
||||
}
|
||||
#endif
|
||||
|
@ -567,8 +567,8 @@ EX eLand getNewLand(eLand old, eLand old2 IS(laBarrier)) {
|
||||
tab[cnt++] = laSnakeNest;
|
||||
}
|
||||
|
||||
if(landUnlocked(laMountain)) tab[cnt++] = laMountain;
|
||||
if(landUnlocked(laClearing)) tab[cnt++] = laClearing;
|
||||
if(ls::hv_structure() && landUnlocked(laMountain)) tab[cnt++] = laMountain;
|
||||
if(ls::hv_structure() && landUnlocked(laClearing)) tab[cnt++] = laClearing;
|
||||
|
||||
if(landUnlocked(laTrollheim)) {
|
||||
if(isTrollLand(old)) LIKELY tab[cnt++] = laTrollheim;
|
||||
|
Loading…
Reference in New Issue
Block a user