From 9335df9b28fa1082a04d5114a2787021050a6f2d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 29 Jun 2024 11:01:12 +0200 Subject: [PATCH] fixed Wild West Yendor Challenge --- mapeffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapeffects.cpp b/mapeffects.cpp index d5c1e89c..9fec71d0 100644 --- a/mapeffects.cpp +++ b/mapeffects.cpp @@ -833,7 +833,7 @@ EX bool makeEmpty(cell *c) { celllister cl(cwt.at, 100, 1000000, NULL); for(cell *c: cl.lst) { if(c == cwt.at) continue; - if(c->wall != waSaloon) break; + if(c->wall != waSaloon && !c->item) break; c->wall = waNone; } }