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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index e55ae2014..efdacae53 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3595,6 +3595,9 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
chrif_save(sd,2);
chrif_changemapserver(sd, ip, (short)port);
+ //Free session data from this map server [Kevin]
+ unit_free_pc(node->sd);
+
return 0;
}