diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-31 00:03:18 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-31 00:03:18 +0000 |
commit | 6c9523ffa90ae80ab5d92162704ac994116a6173 (patch) | |
tree | f979b10123e6898d71cf8b2841623a5a68895ef2 /src/map/status.c | |
parent | 73af54100308f4899b169881effeb6fe469c43d4 (diff) | |
download | hercules-6c9523ffa90ae80ab5d92162704ac994116a6173.tar.gz hercules-6c9523ffa90ae80ab5d92162704ac994116a6173.tar.bz2 hercules-6c9523ffa90ae80ab5d92162704ac994116a6173.tar.xz hercules-6c9523ffa90ae80ab5d92162704ac994116a6173.zip |
- Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain bonuses (like effect-on-hit) to stack.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6867 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 6d80712cd..c95524a9b 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1453,6 +1453,8 @@ int status_calc_pc(struct map_session_data* sd,int first) + sizeof(sd->reseff) + sizeof(sd->weapon_coma_ele) + sizeof(sd->weapon_coma_race) + + sizeof(sd->weapon_atk) + + sizeof(sd->weapon_atk_rate) + sizeof(sd->arrow_addele) + sizeof(sd->arrow_addrace) + sizeof(sd->arrow_addsize) |