summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-10-30 01:59:04 +0100
committerHaru <haru@dotalux.com>2017-11-05 18:30:44 +0100
commit09d5c20572424e7a92dff5cf560001278c6ffaa0 (patch)
treee9a1f3347e58b85f0cd6d9e39fbf986e1b08b16b /src/map/atcommand.c
parent581f8c7393757ea70c4aaa64f6e20b57f74a32ae (diff)
downloadhercules-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/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index b92ca8c48..1590c3f0c 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9395,7 +9395,7 @@ ACMD(cddebug) {
}
if (!cd || (*message && !strcmpi(message,"reset"))) {
- for(i = 0; i < MAX_SKILL; i++) {
+ for (i = 0; i < MAX_SKILL_DB; i++) {
if( sd->blockskill[i] ) {
clif->messages(fd,"Found skill '%s', unblocking...",skill->dbs->db[i].name);
sd->blockskill[i] = false;