1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +00:00

Caribbean spill in Voronoi should be fixed

This commit is contained in:
Zeno Rogue
2025-07-09 13:34:40 +02:00
parent 64e9abd772
commit d3128d6d31

View File

@@ -2251,14 +2251,6 @@ EX void moreBigStuff(cell *c) {
if(quotient) return;
extend_alt(c, laCaribbean, laCaribbean, false);
if(c->land == laCaribbean) {
if(have_alt(c) && celldistAlt(c) <= 0)
generateTreasureIsland(c);
else
c->wall = waSea;
}
if(ls::voronoi_structure()) {
auto p = get_voronoi_winner(c);
auto ph = p.first;
@@ -2297,6 +2289,14 @@ EX void moreBigStuff(cell *c) {
setland(c, laCrossroads);
}
extend_alt(c, laCaribbean, laCaribbean, false);
if(c->land == laCaribbean) {
if(have_alt(c) && celldistAlt(c) <= 0)
generateTreasureIsland(c);
else
c->wall = waSea;
}
if(!ls::hv_structure()) extend_alt(c, laPalace, laPalace, false, PRADIUS1);
extend_alt(c, laCanvas, laCanvas);