summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 04:28:14 +0000
committerZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 04:28:14 +0000
commitd00af22444ca2461a5996f47eb8b1fe3fc09774c (patch)
tree36f2870d180eacff8e9f63902a85abadfc33385f /src/map
parentb1d33ee7d320d273a6bc44c568baa6cd0dd1e373 (diff)
downloadhercules-d00af22444ca2461a5996f47eb8b1fe3fc09774c.tar.gz
hercules-d00af22444ca2461a5996f47eb8b1fe3fc09774c.tar.bz2
hercules-d00af22444ca2461a5996f47eb8b1fe3fc09774c.tar.xz
hercules-d00af22444ca2461a5996f47eb8b1fe3fc09774c.zip
- Read changelog.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6484 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 6655ac862..115d4bd06 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7737,6 +7737,9 @@ atcommand_changeleader(
*/
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);
// 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
- unsigned int rate;
+ //unsigned int rate; // Moved to top due to decleration error after executional block. [Zido]
// get maximum droprate limit
rate = atoi(message) * 100;