diff options
author | Asheraf <acheraf1998@gmail.com> | 2018-03-30 00:02:14 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-06-02 16:33:32 +0000 |
commit | ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4 (patch) | |
tree | f0624b03ec077198a2baba945a16947d6a7d8a14 /src/map/itemdb.c | |
parent | c81fee18c0d5ed70f8717679ee16cebe5e591c58 (diff) | |
download | hercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.tar.gz hercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.tar.bz2 hercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.tar.xz hercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.zip |
Implementation of stylist ui
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 2ab3f2b05..d958d03d2 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -2394,7 +2394,7 @@ void itemdb_read(bool minimal) { itemdb->read_chains(); itemdb->read_packages(); itemdb->read_options(); - + clif->stylist_read_db_libconfig(); } /** @@ -2622,6 +2622,7 @@ void do_final_itemdb(void) { itemdb->destroy_item_data(&itemdb->dummy, 0); db_destroy(itemdb->names); VECTOR_CLEAR(clif->attendance_data); + clif->stylist_vector_clear(); } void do_init_itemdb(bool minimal) { @@ -2630,6 +2631,7 @@ void do_init_itemdb(bool minimal) { itemdb->options = idb_alloc(DB_OPT_RELEASE_DATA); itemdb->names = strdb_alloc(DB_OPT_BASE,ITEM_NAME_LENGTH); itemdb->create_dummy_data(); //Dummy data item. + clif->stylist_vector_init(); itemdb->read(minimal); if (minimal) |