summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-13 19:22:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-13 19:22:45 +0300
commit49081f4f7ab08849739330d47a1ef8ba3a9837a3 (patch)
treee4b900c4f61f6cd34cfe07ef7c528451a18d3c0f /src/map/skill.c
parent54e5c090692a06a96b2525f1a23f669e3449ba1b (diff)
parent99f707e6a17eb68057b0d711e7fe785c09135e21 (diff)
downloadhercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.tar.gz
hercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.tar.bz2
hercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.tar.xz
hercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.zip
Merge pull request #1088 from HerculesWS/constdb
Constdb revamp
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;
}