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
This commit is contained in:
parent
9bb87169be
commit
f8270ee5f1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user