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:
parent
f9b8551529
commit
e1a78fe1ac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user