unload shop's invetory when exiting shop

This commit is contained in:
Ondřej Novák 2025-05-02 09:15:37 +02:00
parent 0398711b5c
commit 7ec2eb9e71

View file

@ -3099,6 +3099,7 @@ void unwire_shop(void)
norefresh=0; norefresh=0;
wire_proc=wire_shop; wire_proc=wire_shop;
inv_view_mode=old_inv_view_mode; inv_view_mode=old_inv_view_mode;
memset(shp_item_map, 0, sizeof(shp_item_map));
} }
void wire_shop(void) void wire_shop(void)