diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 59df18cd52b37fb69097a7ce9ad7d1e7efa734de (patch) | |
tree | d216fc406f204afb1e25afb503cee265b584b3f1 /src/init2.cc | |
parent | f673763cfaf90c81db4af495aa06b6fc7906ddd9 (diff) |
Remove option_{flag,mask} arrays
Diffstat (limited to 'src/init2.cc')
-rw-r--r-- | src/init2.cc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/init2.cc b/src/init2.cc index 4c6f7f75..0fb1a5a8 100644 --- a/src/init2.cc +++ b/src/init2.cc @@ -809,37 +809,6 @@ static errr init_other(void) (void)quark_add("uncursed"); (void)quark_add("on sale"); - - /*** Prepare the options ***/ - - /* Scan the options */ - for (auto const &option : options->standard_options) - { - int os = option.o_page; - int ob = option.o_bit; - - /* Set the "default" options */ - if (option.o_var) - { - /* Accept */ - option_mask[os] |= (1L << ob); - - /* Set */ - if (option.o_norm) - { - /* Set */ - option_flag[os] |= (1L << ob); - } - - /* Clear */ - else - { - /* Clear */ - option_flag[os] &= ~(1L << ob); - } - } - } - /* Analyze the windows */ for (n = 0; n < 8; n++) { |