diff options
author | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-10 07:02:29 +0000 |
---|---|---|
committer | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-10 07:02:29 +0000 |
commit | 85fe5276718f952fc20c70df863f2438430d73f8 (patch) | |
tree | 4077b8ada3291f46cee99edbb8565489248731f8 /src/map/atcommand.c | |
parent | 2c9cbc9cc309ec61a4a62c59ac2a6c678fd8b478 (diff) | |
download | hercules-85fe5276718f952fc20c70df863f2438430d73f8.tar.gz hercules-85fe5276718f952fc20c70df863f2438430d73f8.tar.bz2 hercules-85fe5276718f952fc20c70df863f2438430d73f8.tar.xz hercules-85fe5276718f952fc20c70df863f2438430d73f8.zip |
Ensure exp rate changes from a reloadbattleconf cause a call to mob_reload().
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14370 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 7564ec329..b2f543092 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -4163,8 +4163,10 @@ int atcommand_reloadbattleconf(const int fd, struct map_session_data* sd, const || prev_config.item_drop_use_max != battle_config.item_drop_use_max || prev_config.item_drop_treasure_min != battle_config.item_drop_treasure_min || prev_config.item_drop_treasure_max != battle_config.item_drop_treasure_max + || prev_config.base_exp_rate != battle_config.base_exp_rate + || prev_config.job_exp_rate != battle_config.job_exp_rate ) - { //Drop rates changed. + { // Exp or Drop rates changed. mob_reload(); //Needed as well so rate changes take effect. #ifndef TXT_ONLY chrif_ragsrvinfo(battle_config.base_exp_rate, battle_config.job_exp_rate, battle_config.item_rate_common); |