diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:57 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:57 +0100 |
commit | c4746c0f6d328baa429c96e54d86d2d7f97ccbcc (patch) | |
tree | 3f0b3a2f98298ab823662e0096bc7ba857793b98 /src/init2.cc | |
parent | b84ac3e1b505624e2af18a4283e7ec379c00b0dc (diff) |
Remove r_name, r_text, r_head in favor of simple strings
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 af6d2799..deb33324 100644 --- a/src/init2.cc +++ b/src/init2.cc @@ -841,19 +841,10 @@ static errr init_r_info(void) char buf[1024]; - /*** Make the header ***/ - r_head = make_header(max_r_idx); - - /*** Make the fake arrays ***/ /* Allocate the "r_info" array */ - r_info = make_array<monster_race>(r_head->info_num); - - /* Hack -- make "fake" arrays */ - r_name = make_array<char>(FAKE_NAME_SIZE); - r_text = make_array<char>(FAKE_TEXT_SIZE); - + r_info = make_array<monster_race>(max_r_idx); /*** Load the ascii template file ***/ |