1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-12 18:30:34 +00:00

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

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;