diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:13 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:13 +0200 |
commit | 0a16384475488d682e33c8d55691e5d9417412ac (patch) | |
tree | 25b73201916e8b63cf012dbf0d8392af42e1d16f /src/player_race.hpp | |
parent | f507d6fb86fe7cfaf4dec69afa36875a1a4aaae4 (diff) |
Unify opval/oflags in player_* structs into player_level_flag
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 203999ad..844eeb75 100644 --- a/src/player_race.hpp +++ b/src/player_race.hpp @@ -5,6 +5,7 @@ #include "object_flag_set.hpp" #include "object_proto.hpp" #include "player_defs.hpp" +#include "player_level_flag.hpp" #include "player_race_ability_type.hpp" #include "player_race_flag_set.hpp" #include "skills_defs.hpp" @@ -40,8 +41,7 @@ struct player_race player_race_flag_set flags; - std::array<object_flag_set, PY_MAX_LEVEL + 1> oflags; - s16b opval[PY_MAX_LEVEL + 1] { }; + std::array<player_level_flag, PY_MAX_LEVEL+1> lflags; struct skill_modifiers skill_modifiers; |