summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-04 22:10:04 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-04 22:10:04 +0000
commitbfa65c105a93d3f3021e82b5c7f4cc1bddb26b74 (patch)
tree2b6779b8d3959a9fdfe278a48e579f99af8feed1 /src/map/pc.c
parent43cd16d6223038e798e151df8038c81d18414353 (diff)
downloadhercules-bfa65c105a93d3f3021e82b5c7f4cc1bddb26b74.tar.gz
hercules-bfa65c105a93d3f3021e82b5c7f4cc1bddb26b74.tar.bz2
hercules-bfa65c105a93d3f3021e82b5c7f4cc1bddb26b74.tar.xz
hercules-bfa65c105a93d3f3021e82b5c7f4cc1bddb26b74.zip
Update to Auth Glitch fix: moved unit_free_pc back to where it was and updated it so unit_free_pc just tells the script to end(not hard delete). (bugreport:1214)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12481 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;
}