summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index d6a8b1a22..55f4326f9 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -276,6 +276,9 @@ int status_calc_pc(struct map_session_data* sd,int first)
memset(sd->add_mdef_classrate,0,sizeof(sd->add_mdef_classrate));
memset(sd->add_damage_classid2,0,sizeof(sd->add_damage_classid2));
memset(sd->add_damage_classrate2,0,sizeof(sd->add_damage_classrate2));
+ sd->sp_gain_value = 0;
+ sd->ignore_def_mob = sd->ignore_def_mob_ = 0;
+ sd->hp_loss_rate = sd->hp_loss_value = sd->hp_loss_type = 0;
if(!sd->disguiseflag && sd->disguise) {
sd->disguise=0;