1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-10 02:33:00 +00:00

Stop WFC generation from spilling 1 tile into neighboring lands

Hopefully this will stop Rosebushes from appearing right outside Eclectic City
This commit is contained in:
Joseph C. Sible
2025-09-21 01:27:15 -04:00
parent 8b7e82b460
commit d2043699fa

View File

@@ -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++;
}