diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 07:42:43 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 07:42:43 +0200 |
commit | 3941b7834f0a038ed544e6ee96b9920d43db4c32 (patch) | |
tree | 4c0cb0d2a37105eb40b88608c9c9e18fc0d1dd5b /src/player_race.hpp | |
parent | 3966bfb2f6836d13c1a93bfab1e9fa61ec4fff35 (diff) |
Rework PR{1,2}_* flags to flag_set<>
Since there's no need for two tiers we also reduce the flag set
to 1 tier. (Breaks savefile compatbility.)
Diffstat (limited to 'src/player_race.hpp')
-rw-r--r-- | src/player_race.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_race.hpp b/src/player_race.hpp index e01034ba..9af977aa 100644 --- a/src/player_race.hpp +++ b/src/player_race.hpp @@ -5,6 +5,7 @@ #include "object_flag_set.hpp" #include "player_defs.hpp" #include "player_race_ability_type.hpp" +#include "player_race_flag_set.hpp" #include "skills_defs.hpp" #include <array> @@ -43,8 +44,7 @@ struct player_race s16b chart = 0; /* Chart history */ - u32b flags1 = 0; - u32b flags2 = 0; + player_race_flag_set flags; std::array<object_flag_set, PY_MAX_LEVEL + 1> oflags; s16b opval[PY_MAX_LEVEL + 1] { }; |