Permalink
Browse files

Fixed an issue with bonus recalculation

Fixes #3725

Thanks to @jester-frost and @laziem
  • Loading branch information...
Lemongrass3110 committed Dec 6, 2018
1 parent 08a45f5 commit 55971054518a82724132b2f1ff46d652099ac78c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/map/status.cpp
@@ -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);

0 comments on commit 5597105

Please sign in to comment.