summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 00:37:17 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 00:37:17 +0000
commit95c1abdfcb62211557fdd14b463a014e87882a2d (patch)
treea407fac6b379af03606e55f8f4a2fb9eec814b58 /src/map/clif.c
parent4c5e3668433a0a6d63c0777f451f270f06e57fb7 (diff)
downloadhercules-95c1abdfcb62211557fdd14b463a014e87882a2d.tar.gz
hercules-95c1abdfcb62211557fdd14b463a014e87882a2d.tar.bz2
hercules-95c1abdfcb62211557fdd14b463a014e87882a2d.tar.xz
hercules-95c1abdfcb62211557fdd14b463a014e87882a2d.zip
- Fixed floating shops being accessible from any location through 3rd party programs
- TODO: needs amending for the walking glitch (bugreport:5016) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15099 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index eab61ca4e..26de41816 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8671,6 +8671,9 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
instance_check_idle(map[sd->bl.m].instance_id);
}
sd->state.debug_remove_map = 0; // temporary state to track double remove_map's [FlavioJS]
+
+ // reset the callshop flag if the player changes map
+ sd->state.callshop = 0;
map_addblock(&sd->bl);
clif_spawn(&sd->bl);