summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-11-18 19:01:51 +0100
committerGitHub <noreply@github.com>2017-11-18 19:01:51 +0100
commita63c82c8bd29fd829a5d8cfba7d02d11cf4634c5 (patch)
tree8f369881467a3d1a9a5a0a4fb16631ad6d33e44e /src/map/status.c
parent93fe9834c3075bad0fc1ba1dd075147d7de3b73a (diff)
parent13b1d22dccc7a0e816963f070248e11c73538bd1 (diff)
downloadhercules-a63c82c8bd29fd829a5d8cfba7d02d11cf4634c5.tar.gz
hercules-a63c82c8bd29fd829a5d8cfba7d02d11cf4634c5.tar.bz2
hercules-a63c82c8bd29fd829a5d8cfba7d02d11cf4634c5.tar.xz
hercules-a63c82c8bd29fd829a5d8cfba7d02d11cf4634c5.zip
Merge pull request #1896 from MishimaHaruna/skill_id_idx
Skill ID / IDX fixes
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ccd1e6b11..ddb8c7e6a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -159,7 +159,7 @@ void initChangeTables(void)
for (i = 0; i < SC_MAX; i++)
status->dbs->IconChangeTable[i] = SI_BLANK;
- for (i = 0; i < MAX_SKILL; i++)
+ for (i = 0; i < MAX_SKILL_DB; i++)
status->dbs->Skill2SCTable[i] = SC_NONE;
for (i = 0; i < SI_MAX; i++)
@@ -2329,7 +2329,7 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt)
static int calculating = 0; //Check for recursive call preemption. [Skotlex]
struct status_data *bstatus; // pointer to the player's base status
const struct status_change *sc;
- struct s_skill b_skill[MAX_SKILL]; // previous skill tree
+ struct s_skill b_skill[MAX_SKILL_DB]; // previous skill tree
int b_weight, b_max_weight, b_cart_weight_max, // previous weight
i, k, index, skill_lv,refinedef=0;
int64 i64;