summaryrefslogtreecommitdiff
path: root/src/dungeon.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commit59df18cd52b37fb69097a7ce9ad7d1e7efa734de (patch)
treed216fc406f204afb1e25afb503cee265b584b3f1 /src/dungeon.cc
parentf673763cfaf90c81db4af495aa06b6fc7906ddd9 (diff)
Remove option_{flag,mask} arrays
Diffstat (limited to 'src/dungeon.cc')
-rw-r--r--src/dungeon.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/dungeon.cc b/src/dungeon.cc
index b2f8aa25..eeec226b 100644
--- a/src/dungeon.cc
+++ b/src/dungeon.cc
@@ -5147,26 +5147,6 @@ void play_game()
Rand_state_init(seed);
}
- /* Extract 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)
- {
- if (option_flag[os] & (1L << ob))
- {
- *option.o_var = TRUE;
- }
- else
- {
- *option.o_var = FALSE;
- }
- }
- }
-
/* Roll new character */
if (new_game)
{