summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-21 16:20:26 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-21 16:20:26 +0000
commitc81e18ec6f1a36f1e9a43398b7c3fba5637f6c8a (patch)
tree497c1fbce9a61f2c941ef77b2618a2dbab4535f7 /src/map/pc.h
parentb839ac505706ab77eb4d45be2d5e78ad109efb76 (diff)
downloadhercules-c81e18ec6f1a36f1e9a43398b7c3fba5637f6c8a.tar.gz
hercules-c81e18ec6f1a36f1e9a43398b7c3fba5637f6c8a.tar.bz2
hercules-c81e18ec6f1a36f1e9a43398b7c3fba5637f6c8a.tar.xz
hercules-c81e18ec6f1a36f1e9a43398b7c3fba5637f6c8a.zip
* Added enumeration RC2_* for mob data 'race2' (bugreport:4561).
- Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277). - Fixed bSubRace2 lacking bounds check (since r1257). - Fixed bSubRace2 being documented as bSPSubRace2 (since r1257). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 374488609..7bf3a050f 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -31,7 +31,7 @@ struct weapon_data {
int def_ratio_atk_race;
int addele[ELE_MAX];
int addrace[RC_MAX];
- int addrace2[RC_MAX];
+ int addrace2[RC2_MAX];
int addsize[3];
struct drain_data {
@@ -219,7 +219,7 @@ struct map_session_data {
int param_bonus[6],param_equip[6]; //Stores card/equipment bonuses.
int subele[ELE_MAX];
int subrace[RC_MAX];
- int subrace2[RC_MAX];
+ int subrace2[RC2_MAX];
int subsize[3];
int reseff[SC_COMMON_MAX-SC_COMMON_MIN+1];
int weapon_coma_ele[ELE_MAX];