1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +00:00

clear more walls when generating Wild West in high GP

This commit is contained in:
Zeno Rogue 2024-03-21 18:56:12 +01:00
parent 7bc2715a43
commit de21375f40

View File

@ -814,10 +814,12 @@ EX bool makeEmpty(cell *c) {
}
if(c->land == laWildWest) {
forCellEx(c2, c)
forCellEx(c3, c2)
if(c3->wall != waBarrier)
c3->wall = waNone;
celllister cl(cwt.at, 100, 1000000, NULL);
for(cell *c: cl.lst) {
if(c == cwt.at) continue;
if(c->wall != waSaloon) break;
c->wall = waNone;
}
}
return true;