mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-17 11:30:09 +00:00
fixed Great Walls in WFC
This commit is contained in:
parent
477b0e4ed4
commit
7c9fa25743
@ -219,7 +219,11 @@ EX void invoke() {
|
|||||||
int idx = 1;
|
int idx = 1;
|
||||||
c->wall = p.first[0];
|
c->wall = p.first[0];
|
||||||
c->wparam = 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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user