From 4f6b2ebd825282937015efabbd35fc2cc6d992db Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Mar 2016 21:17:37 +0300 Subject: Check allowed range for "View" field in item_db for weapon items. Also fix some array sizes. --- src/map/status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.h') diff --git a/src/map/status.h b/src/map/status.h index 296b5baae..4e2f1bdc0 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -2169,7 +2169,7 @@ BEGIN_ZEROED_BLOCK; /* Everything within this block will be memset to 0 when sta /* */ struct s_refine_info refine_info[REFINE_TYPE_MAX]; /* */ - int atkmods[3][MAX_WEAPON_TYPE];//ATK weapon modification for size (size_fix.txt) + int atkmods[3][MAX_SINGLE_WEAPON_TYPE];//ATK weapon modification for size (size_fix.txt) char job_bonus[CLASS_COUNT][MAX_LEVEL]; sc_conf_type sc_conf[SC_MAX]; END_ZEROED_BLOCK; /* End */ -- cgit v1.2.3-70-g09d2