- Read changelog.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6484 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Zido 2006-05-05 04:28:14 +00:00
parent de9460b3ee
commit cc3dc433b9
2 changed files with 5 additions and 1 deletions

View File

@ -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. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/05/04 2006/05/04
* Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
* Fixed a possible infinite loop in skill_clear_unit_group [Skotlex] * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
* Some clean-ups in the mob_ai [Skotlex] * Some clean-ups in the mob_ai [Skotlex]
* Improved atcommand autoloot, now displays droprate in percents and notices * Improved atcommand autoloot, now displays droprate in percents and notices

View File

@ -7737,6 +7737,9 @@ atcommand_changeleader(
*/ */
int atcommand_autoloot(const int fd, struct map_session_data* sd, const char* command, const char* message) int atcommand_autoloot(const int fd, struct map_session_data* sd, const char* command, const char* message)
{ {
// autoloot command with value
unsigned int rate;
nullpo_retr(-1, sd); nullpo_retr(-1, sd);
// autoloot command without value // autoloot command without value
@ -7757,7 +7760,7 @@ int atcommand_autoloot(const int fd, struct map_session_data* sd, const char* co
} }
// autoloot command with value // autoloot command with value
unsigned int rate; //unsigned int rate; // Moved to top due to decleration error after executional block. [Zido]
// get maximum droprate limit // get maximum droprate limit
rate = atoi(message) * 100; rate = atoi(message) * 100;