From d3128d6d3152352eb8083943cab3adec10e377fb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 9 Jul 2025 13:34:40 +0200 Subject: [PATCH] Caribbean spill in Voronoi should be fixed --- bigstuff.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index 3de2985f..6b73ab1a 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -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);