summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-10 02:33:15 +0100
committerHaru <haru@dotalux.com>2016-01-13 11:24:33 +0100
commit6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a (patch)
tree0eb4176eaa21e8d0e0d0eb36309d70aacfa49de2 /src/map/skill.c
parenta8154726935b2d6a2273b75126a675e6e706edab (diff)
downloadhercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.gz
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.bz2
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.xz
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.zip
Added support to mark constants in db/constants.conf as deprecated
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index a14f7a6c5..be899d0dc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -18795,7 +18795,7 @@ bool skill_parse_row_skilldb(char* split[], int columns, int current) {
safestrncpy(skill->dbs->db[idx].name, trim(split[15]), sizeof(skill->dbs->db[idx].name));
safestrncpy(skill->dbs->db[idx].desc, trim(split[16]), sizeof(skill->dbs->db[idx].desc));
strdb_iput(skill->name2id_db, skill->dbs->db[idx].name, skill_id);
- script->set_constant2(skill->dbs->db[idx].name,(int)skill_id,0);
+ script->set_constant2(skill->dbs->db[idx].name, (int)skill_id, false, false);
return true;
}