/** * Reloads the quest database. */ void do_reload_quest(void) { memset(&quest_dummy, 0, sizeof(quest_dummy)); questdb->clear(questdb, questdb_free); quest_read_db(); //Update quest data for players, to ensure no entries about removed quests are left over. map_foreachpc(&quest_reload_check_sub); }
void do_init_quest(void) { quest_read_db(); }
/** * Initializes the quest interface. */ void do_init_quest(void) { questdb = idb_alloc(DB_OPT_BASE); quest_read_db(); }
void do_reload_quest(void) { memset(&quest_db, 0, sizeof(quest_db)); quest_read_db(); }