diff options
author | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-04 07:19:47 +0000 |
---|---|---|
committer | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-04 07:19:47 +0000 |
commit | 210c7db380e555a76f06124056a79631cefaaae2 (patch) | |
tree | 4a94fea2d6254a611fc3ec0d6a08421e770c3cc5 /src/map/pc.c | |
parent | 44256c0db4fb625cef5f08a5530cfae74158cb85 (diff) | |
download | hercules-210c7db380e555a76f06124056a79631cefaaae2.tar.gz hercules-210c7db380e555a76f06124056a79631cefaaae2.tar.bz2 hercules-210c7db380e555a76f06124056a79631cefaaae2.tar.xz hercules-210c7db380e555a76f06124056a79631cefaaae2.zip |
Bug fixes for Auth Glitch and Map server crash through script warp when changing map servers.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12473 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index acc8af40c..e55ae2014 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3594,9 +3594,7 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y pc_clean_skilltree(sd); chrif_save(sd,2); chrif_changemapserver(sd, ip, (short)port); - //It is important to invoke remove_map separately from unit_free before - //saving so that the data saved corresponds to that AFTER warping. - unit_free_pc(sd); + return 0; } |