summaryrefslogtreecommitdiff
path: root/src/init2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:58 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:58 +0100
commit58e8024f17446bf3b1a36985d746f6de330874c0 (patch)
tree59ee37337149de5009a9e036e86bdeeb1e8d4663 /src/init2.cc
parente3405ca03eebafa60e773812c4f12fed7f4805db (diff)
Remove s_head, s_name, s_text
Diffstat (limited to 'src/init2.cc')
-rw-r--r--src/init2.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/init2.cc b/src/init2.cc
index 11505edb..126d9934 100644
--- a/src/init2.cc
+++ b/src/init2.cc
@@ -530,19 +530,8 @@ static errr init_s_info(void)
/* General buffer */
char buf[1024];
-
- /*** Make the "header" ***/
- s_head = make_header(max_s_idx);
-
-
- /*** Make the fake arrays ***/
-
/* Allocate the "s_info" array */
- s_info = make_array<skill_type>(s_head->info_num);
-
- /* Hack -- make "fake" arrays */
- s_name = make_array<char>(FAKE_NAME_SIZE);
- s_text = make_array<char>(FAKE_TEXT_SIZE);
+ s_info = make_array<skill_type>(max_s_idx);
/*** Load the ascii template file ***/