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
commite20d50a1b347d52d9b6e2c2570fe97f196c2c069 (patch)
tree622bd9b383cc39efe7a646e1a980a6c1c604c8d9 /src/init2.cc
parent58e8024f17446bf3b1a36985d746f6de330874c0 (diff)
Remove al_head, al_name
Diffstat (limited to 'src/init2.cc')
-rw-r--r--src/init2.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/init2.cc b/src/init2.cc
index 126d9934..c50cd428 100644
--- a/src/init2.cc
+++ b/src/init2.cc
@@ -1347,15 +1347,8 @@ errr init_al_info(void)
/* General buffer */
char buf[1024];
- /*** Make the header ***/
- al_head = make_header(max_al_idx);
-
-
- /* Allocate the "al_info" array */
- alchemist_recipes = make_array<alchemist_recipe>(al_head->info_num);
-
- /* Allocate the fake arrays */
- al_name = make_array<char>(FAKE_NAME_SIZE);
+ /* Allocate the arrays */
+ alchemist_recipes = make_array<alchemist_recipe>(max_al_idx);
a_select_flags = make_array<artifact_select_flag>(max_al_idx);
/*** Load the ascii template file ***/