diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-03-29 20:32:55 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-03-29 20:32:55 +0200 |
commit | 899041ce6b7cbc33e8cb3124aaa54b518c4a4b72 (patch) | |
tree | 72d9bd8e36db2b8392512db677157b6f32c10b49 /src/dungeon_info_type.hpp | |
parent | c8df88d8c61197d8f019efa0ba373ed14a28d914 (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.hpp | 4 |
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; |