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 | 2fa1a5e82a4e13f16ea6001c11d2452bac036d20 (patch) | |
tree | 281abb2809be83f8710d2aacab9ea342923455a7 /src/player_class.hpp | |
parent | ab69f8a32062d0ae44ba7af0b4e357f6a77169ea (diff) |
Unify skill_* fields into skill_modifier{,s}
Diffstat (limited to 'src/player_class.hpp')
-rw-r--r-- | src/player_class.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/player_class.hpp b/src/player_class.hpp index 6e094717..e3a124e6 100644 --- a/src/player_class.hpp +++ b/src/player_class.hpp @@ -6,6 +6,7 @@ #include "player_defs.hpp" #include "player_race_flag_set.hpp" #include "player_spec.hpp" +#include "skill_modifiers.hpp" /** * Maximum number of specialties. @@ -54,10 +55,7 @@ struct player_class std::array<object_flag_set, PY_MAX_LEVEL + 1> oflags; s16b opval[PY_MAX_LEVEL + 1] { }; - char skill_basem[MAX_SKILLS] { }; - u32b skill_base[MAX_SKILLS] { }; - char skill_modm[MAX_SKILLS] { }; - s16b skill_mod[MAX_SKILLS] { }; + struct skill_modifiers skill_modifiers; u32b gods = 0; |