diff options
author | Haru <haru@dotalux.com> | 2017-10-30 01:59:04 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-11-05 18:30:44 +0100 |
commit | 09d5c20572424e7a92dff5cf560001278c6ffaa0 (patch) | |
tree | e9a1f3347e58b85f0cd6d9e39fbf986e1b08b16b /src/map/mercenary.h | |
parent | 581f8c7393757ea70c4aaa64f6e20b57f74a32ae (diff) | |
download | hercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.tar.gz hercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.tar.bz2 hercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.tar.xz hercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.zip |
Reduce confusion between skill IDs and skill DB indexes (part 2)
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the
maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum
skill ID.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/mercenary.h')
-rw-r--r-- | src/map/mercenary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mercenary.h b/src/map/mercenary.h index 0af75e8a2..f3773f191 100644 --- a/src/map/mercenary.h +++ b/src/map/mercenary.h @@ -92,7 +92,7 @@ struct mercenary_data { struct regen_data regen; struct s_mercenary_db *db; struct s_mercenary mercenary; - char blockskill[MAX_SKILL]; + char blockskill[MAX_SKILL_DB]; struct map_session_data *master; int contract_timer; |