diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/atcommand.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index b85dce1ec..464717a73 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ 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.
2006/06/22
+ * Fixed @autoloot being off by 0.01% when entering a manual value.
+ [Skotlex]
* Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
each target is hit N times (where N is the number of mobs in the splash
area at the moment of triggering). [Skotlex]
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)
|