summaryrefslogtreecommitdiff
path: root/src/q_betwen.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-03-29 20:32:55 +0200
committerBardur Arantsson <bardur@scientician.net>2016-03-29 20:32:55 +0200
commit899041ce6b7cbc33e8cb3124aaa54b518c4a4b72 (patch)
tree72d9bd8e36db2b8392512db677157b6f32c10b49 /src/q_betwen.cc
parentc8df88d8c61197d8f019efa0ba373ed14a28d914 (diff)
Convert dungeon_info_type to use new flag_set
Diffstat (limited to 'src/q_betwen.cc')
-rw-r--r--src/q_betwen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/q_betwen.cc b/src/q_betwen.cc
index 2bebe452..541be9f9 100644
--- a/src/q_betwen.cc
+++ b/src/q_betwen.cc
@@ -1,6 +1,7 @@
#include "q_betwen.hpp"
#include "cave.hpp"
+#include "dungeon_flag.hpp"
#include "cave_type.hpp"
#include "hook_chardump_in.hpp"
#include "hook_init_quest_in.hpp"
@@ -96,7 +97,7 @@ static bool_ quest_between_gen_hook(void *, void *, void *)
/* Otherwise instadeath */
energy_use = 0;
- dungeon_flags2 |= DF2_NO_GENO;
+ dungeon_flags |= DF_NO_GENO;
return TRUE;
}