Fixed @whomap not unlocking the player db (bug in r12204)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12231 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2008-02-22 17:06:03 +00:00
parent e4f66f0ab9
commit e6ee6f00ff
2 changed files with 5 additions and 3 deletions

View File

@ -3,11 +3,12 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. 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. 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 * Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs
directly to all sub make files. How to use: directly to all sub make files. How to use:
make CUSTOM_CFLAGS='-DSOME_DEF' sql [Lupus] 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 * 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 into accounts overflows (and for now also avoids divisions by 0). Applied
this function around clif.c, mob.c and pet.c 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. and removed states party_sent/guild_sent.
* Removed several of the old login methods/constants/player states which * Removed several of the old login methods/constants/player states which
are no longer needed due to this cleanup. [Skotlex] 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] * Rev. 12219 Fixed a typo in /map/clif.c (acount_id -> account_id) [L0ne_W0lf]
* Forgotten update to the definition of script command 'input'. * Forgotten update to the definition of script command 'input'.
* Enabled DEBUG_MEMMGR only in DEBUG mode. * Enabled DEBUG_MEMMGR only in DEBUG mode.

View File

@ -958,6 +958,7 @@ int atcommand_whomap(const int fd, struct map_session_data* sd, const char* comm
clif_displaymessage(fd, atcmd_output); clif_displaymessage(fd, atcmd_output);
count++; count++;
} }
mapit_free(iter);
if (count == 0) if (count == 0)
sprintf(atcmd_output, msg_txt(54), map[map_id].name); // No player found in map '%s'. sprintf(atcmd_output, msg_txt(54), map[map_id].name); // No player found in map '%s'.