summaryrefslogtreecommitdiff
path: root/src/quest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/quest.cc')
-rw-r--r--src/quest.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/quest.cc b/src/quest.cc
new file mode 100644
index 00000000..181b46d2
--- /dev/null
+++ b/src/quest.cc
@@ -0,0 +1,16 @@
+#include "quest.hpp"
+
+#include "tables.hpp"
+
+#include <cstddef>
+
+void init_hooks_quests()
+{
+ for (auto const &q: quest)
+ {
+ if (q.init)
+ {
+ q.init();
+ }
+ }
+}