summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-19 15:25:20 -0300
committershennetsind <ind@henn.et>2013-06-19 15:25:20 -0300
commit2de19107911de4466333d7661efc3c8446f2df38 (patch)
treed6cdf23e8206c1f80020e0b1ea9e17f9da43224c /src/map/skill.c
parent5a298870e080cab4764972ed8ffc573f3e8fd2f8 (diff)
downloadhercules-2de19107911de4466333d7661efc3c8446f2df38.tar.gz
hercules-2de19107911de4466333d7661efc3c8446f2df38.tar.bz2
hercules-2de19107911de4466333d7661efc3c8446f2df38.tar.xz
hercules-2de19107911de4466333d7661efc3c8446f2df38.zip
Skill Tree DB Redesign
http://hercules.ws/board/topic/1188-skill-tree-db-redesign/ Signed-off-by: shennetsind <ind@henn.et>
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 685fec353..aec1ebbfc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -17855,7 +17855,7 @@ void skill_reload (void) {
*
*------------------------------------------*/
int do_init_skill (void) {
- skilldb_name2id = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_RELEASE_DATA, 0);
+ skilldb_name2id = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_RELEASE_DATA, MAX_SKILL_NAME_LENGTH);
skill->read_db();
group_db = idb_alloc(DB_OPT_BASE);