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 | 50c916646b647030755673a9a1dc82e192e492d4 (patch) | |
tree | eb9d7a2b5e27be18f7d1905bed262535a18d05e9 /src/player_class.hpp | |
parent | 8c538df0f6f481c4ac70bf15d9f49621d21aa821 (diff) |
Change player_class::spec to a std::vector<>
Diffstat (limited to 'src/player_class.hpp')
-rw-r--r-- | src/player_class.hpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/player_class.hpp b/src/player_class.hpp index 57282e27..9d9991e3 100644 --- a/src/player_class.hpp +++ b/src/player_class.hpp @@ -11,11 +11,6 @@ #include "skill_modifiers.hpp" /** - * Maximum number of specialties. - */ -constexpr int MAX_SPEC = 20; - -/** * Player descriptor and runtime data. */ struct player_class @@ -49,7 +44,7 @@ struct player_class u32b gods = 0; - std::array<player_spec, MAX_SPEC> spec; + std::vector<player_spec> spec; std::vector<player_race_ability_type> abilities; /* Abilities to be gained by level; ignores prereqs */ }; |