diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/status.c b/src/map/status.c index 07e12d548..8d7acaf93 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1504,8 +1504,6 @@ int status_calc_pc(struct map_session_data* sd,int first) + sizeof(sd->subrace) + sizeof(sd->subrace2) + sizeof(sd->subsize) - + sizeof(sd->addeff) - + sizeof(sd->addeff2) + sizeof(sd->reseff) + sizeof(sd->weapon_coma_ele) + sizeof(sd->weapon_coma_race) @@ -1514,16 +1512,12 @@ int status_calc_pc(struct map_session_data* sd,int first) + sizeof(sd->arrow_addele) + sizeof(sd->arrow_addrace) + sizeof(sd->arrow_addsize) - + sizeof(sd->arrow_addeff) - + sizeof(sd->arrow_addeff2) + sizeof(sd->magic_addele) + sizeof(sd->magic_addrace) + sizeof(sd->magic_addsize) + sizeof(sd->critaddrace) + sizeof(sd->expaddrace) + sizeof(sd->itemhealrate) - + sizeof(sd->addeff3) - + sizeof(sd->addeff3_type) + sizeof(sd->sp_gain_race) ); @@ -1552,6 +1546,8 @@ int status_calc_pc(struct map_session_data* sd,int first) //zero up structures... memset(&sd->autospell,0,sizeof(sd->autospell) + sizeof(sd->autospell2) + + sizeof(sd->addeff) + + sizeof(sd->addeff2) + sizeof(sd->skillatk) + sizeof(sd->skillblown) + sizeof(sd->add_def) |