summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 17:06:03 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 17:06:03 +0000
commit93344af48f44a7a3e535831318fe9c991a015ed4 (patch)
tree7b583bf6ad5430b403ac1e5578b5f19cd4ec3283
parent7b595ae429f84872a3004e24ee74ffe905500f22 (diff)
downloadhercules-93344af48f44a7a3e535831318fe9c991a015ed4.tar.gz
hercules-93344af48f44a7a3e535831318fe9c991a015ed4.tar.bz2
hercules-93344af48f44a7a3e535831318fe9c991a015ed4.tar.xz
hercules-93344af48f44a7a3e535831318fe9c991a015ed4.zip
Fixed @whomap not unlocking the player db (bug in r12204)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12231 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt7
-rw-r--r--src/map/atcommand.c1
2 files changed, 5 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 9bf6640bc..b55be7d3e 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,11 +3,12 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
-2007/02/22
+2008/02/22
+ * Fixed @whomap not unlocking the player db (bug in r12204) [ultramage]
* Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs
directly to all sub make files. How to use:
make CUSTOM_CFLAGS='-DSOME_DEF' sql [Lupus]
-2007/02/21
+2008/02/21
* Added status_calc_life to properly calculate hp/max_hp as a ratio taking
into accounts overflows (and for now also avoids divisions by 0). Applied
this function around clif.c, mob.c and pet.c
@@ -23,7 +24,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
and removed states party_sent/guild_sent.
* Removed several of the old login methods/constants/player states which
are no longer needed due to this cleanup. [Skotlex]
-2007/02/19
+2008/02/19
* Rev. 12219 Fixed a typo in /map/clif.c (acount_id -> account_id) [L0ne_W0lf]
* Forgotten update to the definition of script command 'input'.
* Enabled DEBUG_MEMMGR only in DEBUG mode.
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 13bbb5ef0..727ab8bf0 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -958,6 +958,7 @@ int atcommand_whomap(const int fd, struct map_session_data* sd, const char* comm
clif_displaymessage(fd, atcmd_output);
count++;
}
+ mapit_free(iter);
if (count == 0)
sprintf(atcmd_output, msg_txt(54), map[map_id].name); // No player found in map '%s'.