From 7ec2eb9e71891482478389b52af253a8d75f7da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=A1k?= Date: Fri, 2 May 2025 09:15:37 +0200 Subject: [PATCH] unload shop's invetory when exiting shop --- game/inv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/game/inv.c b/game/inv.c index e20e230..fcaa2f8 100644 --- a/game/inv.c +++ b/game/inv.c @@ -3099,6 +3099,7 @@ void unwire_shop(void) norefresh=0; wire_proc=wire_shop; inv_view_mode=old_inv_view_mode; + memset(shp_item_map, 0, sizeof(shp_item_map)); } void wire_shop(void)