summaryrefslogtreecommitdiff
path: root/src/q_haunted.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/q_haunted.cc')
-rw-r--r--src/q_haunted.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/q_haunted.cc b/src/q_haunted.cc
index 902778fc..df90435c 100644
--- a/src/q_haunted.cc
+++ b/src/q_haunted.cc
@@ -5,6 +5,7 @@
#include "dungeon_flag.hpp"
#include "feature_flag.hpp"
#include "feature_type.hpp"
+#include "game.hpp"
#include "hook_quest_finish_in.hpp"
#include "hooks.hpp"
#include "init1.hpp"
@@ -21,6 +22,8 @@
static bool_ quest_haunted_gen_hook(void *, void *, void *)
{
+ auto const &f_info = game->edit_data.f_info;
+
int x, y, i, m_idx;
int xstart = 2;
int ystart = 2;