diff options
Diffstat (limited to 'src/map/atcommand.c')
-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)
|