mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-17 22:20:41 +00:00
fixed Wild West Yendor Challenge
This commit is contained in:
parent
2d89a028ac
commit
9335df9b28
@ -833,7 +833,7 @@ EX bool makeEmpty(cell *c) {
|
|||||||
celllister cl(cwt.at, 100, 1000000, NULL);
|
celllister cl(cwt.at, 100, 1000000, NULL);
|
||||||
for(cell *c: cl.lst) {
|
for(cell *c: cl.lst) {
|
||||||
if(c == cwt.at) continue;
|
if(c == cwt.at) continue;
|
||||||
if(c->wall != waSaloon) break;
|
if(c->wall != waSaloon && !c->item) break;
|
||||||
c->wall = waNone;
|
c->wall = waNone;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user