summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 02b4d0692..b5fa9268e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5059,6 +5059,10 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
sd->md->bl.y = sd->md->ud.to_y = y;
sd->md->ud.dir = sd->ud.dir;
}
+
+ /* given autotrades have no clients you have to trigger this manually otherwise they get stuck in memory limbo bugreport:7495 */
+ if( sd->state.autotrade )
+ clif->pLoadEndAck(0,sd);
return 0;
}