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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user