summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-31 00:03:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-31 00:03:18 +0000
commit6c9523ffa90ae80ab5d92162704ac994116a6173 (patch)
treef979b10123e6898d71cf8b2841623a5a68895ef2
parent73af54100308f4899b169881effeb6fe469c43d4 (diff)
downloadhercules-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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/status.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 28f636635..e02f8ca3d 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/05/30
+ * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
+ bonuses (like effect-on-hit) to stack. [Skotlex]
* slaves inherit speed setting will now work regardless of whether the
slave or master has the MD_CANMOVE mode bit. [Skotlex]
* Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
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)