mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 14:10:27 -04:00
improve previous commit
This commit is contained in:
parent
7ec2eb9e71
commit
9013f1038a
1 changed files with 1 additions and 1 deletions
|
@ -3099,7 +3099,6 @@ 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)
|
||||||
|
@ -3208,6 +3207,7 @@ char _exit_shop(int id, int xa, int ya,int xr,int yr)
|
||||||
{
|
{
|
||||||
xr,yr,xa,ya,id;
|
xr,yr,xa,ya,id;
|
||||||
SEND_LOG("(SHOP) Exiting shop...");
|
SEND_LOG("(SHOP) Exiting shop...");
|
||||||
|
memset(shp_item_map, 0, sizeof(shp_item_map));
|
||||||
if (cur_owner==-1)
|
if (cur_owner==-1)
|
||||||
{
|
{
|
||||||
free(picked_item);
|
free(picked_item);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue