1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 02:17:40 +00:00

fixed some issues with the generation of Land of Storms in other geometries

This commit is contained in:
Zeno Rogue
2018-06-22 19:36:04 +02:00
parent 63869c6d33
commit bc06f387fc
2 changed files with 16 additions and 6 deletions

View File

@@ -1122,8 +1122,10 @@ void buildBigStuff(cell *c, cell *from) {
heptagon *h = createAlternateMap(c, 2, hsA);
if(h) clearing::bpdata[h].root = NULL;
}
bool alts_okay = (S3 == 3 || (nonbitrunc && !gp::on));
if(c->land == laStorms && ctof(c) && hrand(2000) < 1000 && horo_ok() && !randomPatternsMode) {
if(alts_okay && c->land == laStorms && ctof(c) && hrand(2000) < 1000 && horo_ok() && !randomPatternsMode) {
heptagon *h = createAlternateMap(c, 2, hsA);
if(h) h->alt->emeraldval = hrand(2);
}