summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c4
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)