summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-31 15:27:13 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-31 15:27:13 +0000
commit0f4fad15c74141d817cc8505b4c5d95c74e96bf2 (patch)
treee15a76314714788cf6097900e2284260617b8451 /src/map/clif.c
parent31514c5d363203bb6596f291d4b2df46c76d0b14 (diff)
downloadhercules-0f4fad15c74141d817cc8505b4c5d95c74e96bf2.tar.gz
hercules-0f4fad15c74141d817cc8505b4c5d95c74e96bf2.tar.bz2
hercules-0f4fad15c74141d817cc8505b4c5d95c74e96bf2.tar.xz
hercules-0f4fad15c74141d817cc8505b4c5d95c74e96bf2.zip
Fixed bugreport:5835 vendings are no longer broken when character moves map or is recalled by a gm.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16181 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index b89bce483..34a1fb0eb 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9285,6 +9285,11 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
guild_guildaura_refresh(sd,GD_HAWKEYES,guild_checkskill(sd->state.gmaster_flag,GD_HAWKEYES));
}
+ if( sd->state.vending ) { /* show we have a vending */
+ clif_openvending(sd,sd->bl.id,sd->vending);
+ clif_showvendingboard(&sd->bl,sd->message,0);
+ }
+
if(map[sd->bl.m].flag.loadevent) // Lance
npc_script_event(sd, NPCE_LOADMAP);