|
@@ -7664,6 +7664,8 @@ int clif_refresh(struct map_session_data *sd)
|
|
|
clif_weather_check(sd);
|
|
|
if( sd->chatID )
|
|
|
chat_leavechat(sd,0);
|
|
|
+ if( sd->state.vending )
|
|
|
+ clif_openvending(sd, sd->bl.id, sd->vending);
|
|
|
if( pc_issit(sd) )
|
|
|
clif_sitting(&sd->bl); // FIXME: just send to self, not area
|
|
|
if( pc_isdead(sd) ) //When you refresh, resend the death packet.
|
|
@@ -7671,6 +7673,9 @@ int clif_refresh(struct map_session_data *sd)
|
|
|
else
|
|
|
clif_changed_dir(&sd->bl, SELF);
|
|
|
|
|
|
+ // unlike vending, resuming buyingstore crashes the client.
|
|
|
+ buyingstore_close(sd);
|
|
|
+
|
|
|
#ifndef TXT_ONLY
|
|
|
mail_clear(sd);
|
|
|
#endif
|