summaryrefslogtreecommitdiff
path: root/src/dungeon_info_type.hpp
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/dungeon_info_type.hpp
parentc8df88d8c61197d8f019efa0ba373ed14a28d914 (diff)
Convert dungeon_info_type to use new flag_set
Diffstat (limited to 'src/dungeon_info_type.hpp')
-rw-r--r--src/dungeon_info_type.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dungeon_info_type.hpp b/src/dungeon_info_type.hpp
index 77c037a7..c4edc770 100644
--- a/src/dungeon_info_type.hpp
+++ b/src/dungeon_info_type.hpp
@@ -3,6 +3,7 @@
#include "h-basic.h"
#include "rule_type.hpp"
#include "obj_theme.hpp"
+#include "dungeon_flag_set.hpp"
#include <array>
@@ -45,8 +46,7 @@ struct dungeon_info_type
int min_m_alloc_level = 0; /* Minimal number of monsters per level */
int max_m_alloc_chance = 0; /* There is a 1/max_m_alloc_chance chance per round of creating a new monster */
- u32b flags1 = 0; /* Dungeon flags 1 */
- u32b flags2 = 0; /* Dungeon flags 2 */
+ dungeon_flag_set flags { }; /* Dungeon flags */
int size_x = 0;
int size_y = 0;