From f8270ee5f1f06332ef8d2735edd6fa50135dec5a Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Tue, 10 Aug 2010 07:02:29 +0000 Subject: [PATCH] Ensure exp rate changes from a reloadbattleconf cause a call to mob_reload(). git-svn-id: https://svn.code.sf.net/p/rathena/svn/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 7564ec329a..b2f5430926 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);