mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-01 14:32:59 +00:00
fixed Wild West Yendor Challenge
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user