summaryrefslogtreecommitdiff
path: root/src/map/quest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/quest.c')
-rw-r--r--src/map/quest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/quest.c b/src/map/quest.c
index da5f73caa..463a3395a 100644
--- a/src/map/quest.c
+++ b/src/map/quest.c
@@ -37,6 +37,7 @@
#include <time.h>
struct quest_interface quest_s;
+struct quest_db *db_data[MAX_QUEST_DB]; ///< Quest database
/**
* Searches a quest by ID.
@@ -618,6 +619,7 @@ void do_reload_quest(void) {
*/
void quest_defaults(void) {
quest = &quest_s;
+ quest->db_data = db_data;
memset(&quest->db, 0, sizeof(quest->db));
memset(&quest->dummy, 0, sizeof(quest->dummy));