fixed Great Walls in WFC

This commit is contained in:
Zeno Rogue 2020-03-02 13:17:48 +01:00
parent 477b0e4ed4
commit 7c9fa25743
1 changed files with 5 additions and 1 deletions

View File

@ -219,7 +219,11 @@ EX void invoke() {
int idx = 1;
c->wall = p.first[0];
c->wparam = p.first[0];
forCellEx(c1, c) c1->wparam = c1->wall = p.first[idx++];
forCellEx(c1, c) {
if(c1->wall != waBarrier)
c1->wparam = c1->wall = p.first[idx];
idx++;
}
break;
}
}