diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-23 00:04:10 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-23 00:04:10 +0000 |
commit | fe2cf67955b114452ffb216d973d485217ac055b (patch) | |
tree | a1a0d53a3219b0e58351b90204eaa624e6cf305a /src/map | |
parent | d353fcc5447fb98064e086754a36d324155bf3ea (diff) | |
download | hercules-fe2cf67955b114452ffb216d973d485217ac055b.tar.gz hercules-fe2cf67955b114452ffb216d973d485217ac055b.tar.bz2 hercules-fe2cf67955b114452ffb216d973d485217ac055b.tar.xz hercules-fe2cf67955b114452ffb216d973d485217ac055b.zip |
- Fixed @autoloot being off by 0.01% when entering a manual value.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7303 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 943676876..09886dfad 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -7738,7 +7738,7 @@ int atcommand_autoloot(const int fd, struct map_session_data* sd, const char* co }
// get maximum droprate limit
- rate = (int)(atof(message) * 100);
+ rate = (int)(atof(message) * 100.);
// check for invalid value
if(rate > 10000)
|