ls:: fixed weird trees in ideal Voronoi

This commit is contained in:
Zeno Rogue 2023-09-14 16:29:06 +02:00
parent f9b8551529
commit e1a78fe1ac
1 changed files with 6 additions and 1 deletions

View File

@ -472,7 +472,12 @@ EX void beCIsland(cell *c) {
}
EX void generateTreasureIsland(cell *c) {
gen_alt(c);
if(ls::voronoi_structure()) {
if(c->land != laCaribbean) return;
}
else {
gen_alt(c);
}
if(isOnCIsland(c)) return;
bool src = hrand(100) < 10;