diff options
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 296d30fdba..fa50bf5ab3 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -767,6 +767,7 @@ void game_options::reset_options() flush_input[ FLUSH_LUA ] = true; fire_items_start = 0; // start at slot 'a' + fire_quiver_best = false; // Clear fire_order and set up the defaults. set_fire_order("launcher, return, " @@ -1997,10 +1998,14 @@ void game_options::read_option_line(const std::string &str, bool runscript) fire_items_start = letter_to_index( field[0] ); else { - fprintf( stderr, "Bad fire item start index -- %s\n", + fprintf( stderr, "Bad fire item start index: %s\n", field.c_str() ); } } + else if (key == "fire_quiver_best") + { + fire_quiver_best = _read_bool(field, fire_quiver_best); + } else if (key == "assign_item_slot") { if (field == "forward") |