diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 11:00:28 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 11:00:39 +0200 |
commit | 6da48c4a3bdd2ff105c3ae55d29c6796bec5338b (patch) | |
tree | b3e39ae99f920ad966a4b261091228474b3f4e5b | |
parent | c7544e07ecec46084970e708176a12d94ecf7bd0 (diff) |
Remove unused "uses" field from skill_type
-rw-r--r-- | src/loadsave.cc | 2 | ||||
-rw-r--r-- | src/skill_type.hpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/loadsave.cc b/src/loadsave.cc index 5c257518..4c924527 100644 --- a/src/loadsave.cc +++ b/src/loadsave.cc @@ -544,7 +544,6 @@ static bool_ do_extra(ls_flag_t flag) do_s32b(&s_info[i].mod, flag); do_byte((byte*)&s_info[i].dev, flag); do_byte((byte*)&s_info[i].hidden, flag); - do_u32b(&s_info[i].uses, flag); } else { @@ -552,7 +551,6 @@ static bool_ do_extra(ls_flag_t flag) do_s16b(&tmp16s, flag); do_byte(&tmp8u, flag); do_byte(&tmp8u, flag); - do_u32b(&tmp32u, flag); } } diff --git a/src/skill_type.hpp b/src/skill_type.hpp index 5b29d1ac..fdcdc2d7 100644 --- a/src/skill_type.hpp +++ b/src/skill_type.hpp @@ -21,8 +21,6 @@ struct skill_type s32b value; /* Actual value */ s32b mod; /* Modifier(1 skill point = modifier skill) */ - u32b uses; /* Number of times used */ - s16b action[MAX_SKILLS]; /* List of actions against other skills */ s16b father; /* Father in the skill tree */ |