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 | 3bfa6a0e2cba6b4fc8f53dac1e987c95fe7ed93c (patch) | |
tree | 634ca5f034290d081f240cfb4f75b33ffa7409d5 /src/init2.cc | |
parent | 3f59d3d407cd743f4e4b27791c4fe13785f8669d (diff) |
Remove c_head, c_name, c_text
Diffstat (limited to 'src/init2.cc')
-rw-r--r-- | src/init2.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/init2.cc b/src/init2.cc index 17576e8a..212a5a34 100644 --- a/src/init2.cc +++ b/src/init2.cc @@ -980,11 +980,6 @@ static errr init_player_info(void) /*** Make the header ***/ rmp_head = make_header(max_rmp_idx); - - /*** Make the header ***/ - c_head = make_header(max_c_idx); - - /*** Make the fake arrays ***/ /* Allocate the "rp_info" array */ @@ -1002,11 +997,7 @@ static errr init_player_info(void) rmp_text = make_array<char>(FAKE_TEXT_SIZE); /* Allocate the "c_info" array */ - class_info = make_array<player_class>(c_head->info_num); - - /* Hack -- make "fake" arrays */ - c_name = make_array<char>(FAKE_NAME_SIZE); - c_text = make_array<char>(FAKE_TEXT_SIZE); + class_info = make_array<player_class>(max_c_idx); /* Allocate the "bg" array */ bg = make_array<hist_type>(max_bg_idx); |