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/melee2.cc | |
parent | c8df88d8c61197d8f019efa0ba373ed14a28d914 (diff) |
Convert dungeon_info_type to use new flag_set
Diffstat (limited to 'src/melee2.cc')
-rw-r--r-- | src/melee2.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/melee2.cc b/src/melee2.cc index 5a643132..e4f0802a 100644 --- a/src/melee2.cc +++ b/src/melee2.cc @@ -16,6 +16,7 @@ #include "cave.hpp" #include "cave_type.hpp" #include "cmd1.hpp" +#include "dungeon_flag.hpp" #include "feature_type.hpp" #include "files.hpp" #include "hook_mon_speak_in.hpp" @@ -2259,7 +2260,7 @@ static bool_ monst_spell_monst(int m_idx) /* RF6_TPORT */ case 160 + 5: { - if (dungeon_flags2 & DF2_NO_TELEPORT) break; /* No teleport on special levels */ + if (dungeon_flags & DF_NO_TELEPORT) break; /* No teleport on special levels */ else { if (disturb_other) disturb(1); @@ -2279,7 +2280,7 @@ static bool_ monst_spell_monst(int m_idx) /* RF6_TELE_AWAY */ case 160 + 7: { - if (dungeon_flags2 & DF2_NO_TELEPORT) break; + if (dungeon_flags & DF_NO_TELEPORT) break; if (!direct) break; else |