summaryrefslogtreecommitdiff
path: root/src/init1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:13 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:13 +0200
commit804ff8c184e8ce892ed7629ba6feec9bef5aa7ff (patch)
tree4d22db8be9bf020df27b1c1d9abef4cd6eb93ce6 /src/init1.cc
parent2fa1a5e82a4e13f16ea6001c11d2452bac036d20 (diff)
Remove unused player_spec::skill_ideal field
Diffstat (limited to 'src/init1.cc')
-rw-r--r--src/init1.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/init1.cc b/src/init1.cc
index d86fbd4e..e504f5ed 100644
--- a/src/init1.cc
+++ b/src/init1.cc
@@ -1968,24 +1968,6 @@ errr init_player_info_txt(FILE *fp)
/* Next... */
continue;
}
-
-
- /* Process 'K' for "desired skills" */
- if (buf[4] == 'K')
- {
- long val;
- char name[200];
-
- /* Scan for the values */
- if (2 != sscanf(buf + 6, "%ld:%s",
- &val, name)) return (1);
-
- if ((i = find_skill(name)) == -1) return (1);
- s_ptr->skill_ideal[i] = val;
-
- /* Next... */
- continue;
- }
}
/* Process 'N' for "New/Number/Name" */