From 85fe5276718f952fc20c70df863f2438430d73f8 Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Tue, 10 Aug 2010 07:02:29 +0000 Subject: 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 --- src/map/atcommand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2