diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:58 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:58 +0100 |
commit | c54c7ab7a45e1729bcd3a238cd296850ba91c55f (patch) | |
tree | 7447f2e269667378c74daf374dde8fd80f753c0e /src/init2.cc | |
parent | 1ba4f05af61fbc1b65cf12d140bb4bce6c91e71d (diff) |
Remove st_head, st_name
Diffstat (limited to 'src/init2.cc')
-rw-r--r-- | src/init2.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/init2.cc b/src/init2.cc index 52120950..fd529c07 100644 --- a/src/init2.cc +++ b/src/init2.cc @@ -1016,19 +1016,8 @@ static errr init_st_info(void) /* General buffer */ char buf[1024]; - - /*** Make the header ***/ - st_head = make_header(max_st_idx); - - - /*** Make the fake arrays ***/ - /* Allocate the "st_info" array */ - st_info = make_array<store_info_type>(st_head->info_num); - - /* Hack -- make "fake" arrays */ - st_name = make_array<char>(FAKE_NAME_SIZE); - + st_info = make_array<store_info_type>(max_st_idx); /*** Load the ascii template file ***/ |