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, 2 insertions, 1 deletions
diff --git a/src/q_haunted.cc b/src/q_haunted.cc
index 57daa40e..5295945d 100644
--- a/src/q_haunted.cc
+++ b/src/q_haunted.cc
@@ -2,6 +2,7 @@
#include "cave.hpp"
#include "cave_type.hpp"
+#include "dungeon_flag.hpp"
#include "feature_type.hpp"
#include "hook_quest_finish_in.hpp"
#include "hooks.hpp"
@@ -48,7 +49,7 @@ static bool_ quest_haunted_gen_hook(void *, void *, void *)
init_flags = INIT_CREATE_DUNGEON;
process_dungeon_file("haunted.map", &ystart, &xstart, cur_hgt, cur_wid, TRUE, FALSE);
- dungeon_flags2 |= DF2_NO_GENO;
+ dungeon_flags |= DF_NO_GENO;
/* Place some ghosts */
for (i = 12; i > 0; )