1
0
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:
Zeno Rogue 2024-06-29 11:01:12 +02:00
parent 2d89a028ac
commit 9335df9b28

View File

@ -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;
} }
} }