diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-06 23:12:18 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-06 23:12:18 +0000 |
commit | d7c7784e6328f5467b049e13d4bedaeaef57f495 (patch) | |
tree | 554db61eba46f06390f5363d7803a86356b34200 /src/map/status.c | |
parent | f947fd2e918941c48c3a730b2387725c2dd2030d (diff) | |
download | hercules-d7c7784e6328f5467b049e13d4bedaeaef57f495.tar.gz hercules-d7c7784e6328f5467b049e13d4bedaeaef57f495.tar.bz2 hercules-d7c7784e6328f5467b049e13d4bedaeaef57f495.tar.xz hercules-d7c7784e6328f5467b049e13d4bedaeaef57f495.zip |
- Fixed the memset in status_calc_pc, corrects some mysterious bugs such as item-drop bonuses suddenly not working anymore.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8658 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 4b05b494e..352d0da62 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1674,6 +1674,8 @@ int status_calc_pc(struct map_session_data* sd,int first) + sizeof(sd->hp_loss_type)
+ sizeof(sd->hp_gain_value)
+ sizeof(sd->sp_gain_value)
+ + sizeof(sd->sp_vanish_rate)
+ + sizeof(sd->sp_vanish_per)
+ sizeof(sd->add_drop_count)
+ sizeof(sd->unbreakable)
+ sizeof(sd->unbreakable_equip)
|