1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-10 10:43:03 +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) { if(c->land == laWildWest) {
forCellEx(c2, c) celllister cl(cwt.at, 100, 1000000, NULL);
forCellEx(c3, c2) for(cell *c: cl.lst) {
if(c3->wall != waBarrier) if(c == cwt.at) continue;
c3->wall = waNone; if(c->wall != waSaloon) break;
c->wall = waNone;
}
} }
return true; return true;