diff options
author | Haru <haru@dotalux.com> | 2016-03-06 21:10:20 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-03-06 21:10:20 +0100 |
commit | a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813 (patch) | |
tree | d67d1076d0aa36df8a412691d47a17a4391e9184 /src/map/pc.h | |
parent | dbebf2dcaaabd65b20722becdf7b4bb3ee682688 (diff) | |
parent | 4f6b2ebd825282937015efabbd35fc2cc6d992db (diff) | |
download | hercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.tar.gz hercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.tar.bz2 hercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.tar.xz hercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.zip |
Merge pull request #1189 from 4144/itemdbview
Check allowed range for "View" field in item_db for weapon items.
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index db1d7a9da..0d2bca84d 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -302,8 +302,8 @@ BEGIN_ZEROED_BLOCK; // this block will be globally zeroed at the beginning of st int reseff[SC_COMMON_MAX-SC_COMMON_MIN+1]; int weapon_coma_ele[ELE_MAX]; int weapon_coma_race[RC_MAX]; - int weapon_atk[16]; - int weapon_atk_rate[16]; + int weapon_atk[MAX_WEAPON_TYPE]; + int weapon_atk_rate[MAX_WEAPON_TYPE]; int arrow_addele[ELE_MAX]; int arrow_addrace[RC_MAX]; int arrow_addsize[3]; |