1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-28 05:21:18 +00:00

Merge pull request #457 from josephcsible/wfcspill

Stop WFC generation from spilling 1 tile into neighboring lands
This commit is contained in:
Zeno Rogue
2025-10-09 08:20:41 +02:00
committed by GitHub

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