summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-01 17:49:50 -0300
committershennetsind <ind@henn.et>2013-04-01 17:49:50 -0300
commit6990db954cf46c51e9f522865a03d5d3b64cb46a (patch)
tree130b1405592e75ded61abac261b941a11a548c40 /src
parent0b6c9d577286dbaaa9fe24635d896cc4d5dbf454 (diff)
downloadhercules-6990db954cf46c51e9f522865a03d5d3b64cb46a.tar.gz
hercules-6990db954cf46c51e9f522865a03d5d3b64cb46a.tar.bz2
hercules-6990db954cf46c51e9f522865a03d5d3b64cb46a.tar.xz
hercules-6990db954cf46c51e9f522865a03d5d3b64cb46a.zip
Fixed Bug #7142
Buying store display is no longer broken by @refresh http://hercules.ws/board/tracker/issue-7142-buyingstore-closed-by-refresh/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 1192fcf8f..062a6165c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8297,6 +8297,8 @@ void clif_refresh(struct map_session_data *sd)
chat_leavechat(sd,0);
if( sd->state.vending )
clif->openvending(sd, sd->bl.id, sd->vending);
+ if( sd->state.buyingstore )
+ clif->buyingstore_entry_single(sd, sd);
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.