Fixed an issue with bonus recalculation
Fixes #3725 Thanks to @jester-frost and @laziem
This commit is contained in:
parent
08a45f5e8f
commit
5597105451
@ -3556,9 +3556,10 @@ int status_calc_pc_sub(struct map_session_data* sd, enum e_status_calc_opt opt)
|
||||
+ sizeof(sd->norecover_state_race)
|
||||
+ sizeof(sd->hp_vanish_race)
|
||||
+ sizeof(sd->sp_vanish_race)
|
||||
+ sizeof(sd->bonus)
|
||||
);
|
||||
|
||||
memset(&sd->bonus, 0, sizeof(sd->bonus));
|
||||
|
||||
// Autobonus
|
||||
pc_delautobonus(sd, sd->autobonus, true);
|
||||
pc_delautobonus(sd, sd->autobonus2, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user