diff options
Diffstat (limited to 'src/player_race.hpp')
-rw-r--r-- | src/player_race.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/player_race.hpp b/src/player_race.hpp index f1933557..e01034ba 100644 --- a/src/player_race.hpp +++ b/src/player_race.hpp @@ -2,6 +2,7 @@ #include "h-basic.h" #include "body.hpp" +#include "object_flag_set.hpp" #include "player_defs.hpp" #include "player_race_ability_type.hpp" #include "skills_defs.hpp" @@ -45,12 +46,7 @@ struct player_race u32b flags1 = 0; u32b flags2 = 0; - u32b oflags1[PY_MAX_LEVEL + 1] { }; - u32b oflags2[PY_MAX_LEVEL + 1] { }; - u32b oflags3[PY_MAX_LEVEL + 1] { }; - u32b oflags4[PY_MAX_LEVEL + 1] { }; - u32b oflags5[PY_MAX_LEVEL + 1] { }; - u32b oesp[PY_MAX_LEVEL + 1] { }; + std::array<object_flag_set, PY_MAX_LEVEL + 1> oflags; s16b opval[PY_MAX_LEVEL + 1] { }; char skill_basem[MAX_SKILLS] { }; |