From d2043699fa7af21f56f0e308f556d984d1c0f4fd Mon Sep 17 00:00:00 2001 From: "Joseph C. Sible" Date: Sun, 21 Sep 2025 01:27:15 -0400 Subject: [PATCH] Stop WFC generation from spilling 1 tile into neighboring lands Hopefully this will stop Rosebushes from appearing right outside Eclectic City --- wfcgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wfcgen.cpp b/wfcgen.cpp index 8a7ea162..7764e21f 100644 --- a/wfcgen.cpp +++ b/wfcgen.cpp @@ -220,7 +220,7 @@ EX void invoke() { c->wall = p.first[0]; c->wparam = p.first[0]; forCellEx(c1, c) { - if(c1->wall != waBarrier) + if(c1->wall != waBarrier && c1->land == c->land) c1->wparam = c1->wall = p.first[idx]; idx++; }