git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7303 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -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]
@@ -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)