summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-04 12:42:29 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-04 12:42:29 +0000
commit17b06add8252a7b6513080354f4bcb4c45e18902 (patch)
treeb962494d9a085ac5ea4f65e9bfbeaad4fa112b7c
parent4ddc672d0ac90e3173d9b7dea6d76c6b369ec2a8 (diff)
downloadhercules-17b06add8252a7b6513080354f4bcb4c45e18902.tar.gz
hercules-17b06add8252a7b6513080354f4bcb4c45e18902.tar.bz2
hercules-17b06add8252a7b6513080354f4bcb4c45e18902.tar.xz
hercules-17b06add8252a7b6513080354f4bcb4c45e18902.zip
Fixed a little bug in Kevin's commit (r12473)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12475 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/chrif.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index e162e620b..00408784f 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/04/04
+ * Fixed a little bug in Kevin's commit (r12473) [Toms]
* Bug fixes for Auth Glitch and Map server crash through script warp when
- changing map servers.
* When char receives the request to go back to char selection it sets
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 36f57a892..239880f88 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -401,7 +401,7 @@ int chrif_changemapserverack(int account_id, int login_id1, int login_id2, int c
clif_changemapserver(node->sd, map_index, x, y, ntohl(ip), ntohs(port));
//Free session data from this map server [Kevin]
- unit_free_pc(sd);
+ unit_free_pc(node->sd);
//Player has been saved already, remove him from memory. [Skotlex]
chrif_auth_delete(account_id, char_id, ST_MAPCHANGE);