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/birth.cc | |
parent | c8df88d8c61197d8f019efa0ba373ed14a28d914 (diff) |
Convert dungeon_info_type to use new flag_set
Diffstat (limited to 'src/birth.cc')
-rw-r--r-- | src/birth.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/birth.cc b/src/birth.cc index 4c9ff06a..09dabe24 100644 --- a/src/birth.cc +++ b/src/birth.cc @@ -12,6 +12,7 @@ #include "corrupt.hpp" #include "cmd4.hpp" #include "cmd5.hpp" +#include "dungeon_flag.hpp" #include "dungeon_info_type.hpp" #include "files.h" #include "files.hpp" @@ -3126,7 +3127,7 @@ void player_birth(void) d_ptr->t_idx[z] = 0; d_ptr->t_level[z] = 0; } - if (!(d_ptr->flags1 & DF1_RANDOM_TOWNS)) continue; + if (!(d_ptr->flags & DF_RANDOM_TOWNS)) continue; /* Can we add a town ? */ while (magik(TOWN_CHANCE - (num * 10))) |