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
1 changed files with 6 additions and 4 deletions

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;