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/chrif.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/chrif.c')
-rw-r--r-- | src/map/chrif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 583c22ad6..36f57a892 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -400,8 +400,12 @@ int chrif_changemapserverack(int account_id, int login_id1, int login_id2, int c } else clif_changemapserver(node->sd, map_index, x, y, ntohl(ip), ntohs(port)); + //Free session data from this map server [Kevin] + unit_free_pc(sd); + //Player has been saved already, remove him from memory. [Skotlex] chrif_auth_delete(account_id, char_id, ST_MAPCHANGE); + return 0; } |