diff options
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 969962c757..9b437a83b3 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -685,6 +685,7 @@ void game_options::reset_options() note_all_spells = false; note_hp_percent = 5; ood_interesting = 8; + rare_interesting = 9; // [ds] Grumble grumble. auto_list = true; @@ -2126,10 +2127,8 @@ void game_options::read_option_line(const std::string &str, bool runscript) field.c_str() ); } } - else if (key == "ood_interesting") - { - ood_interesting = atoi( field.c_str() ); - } + INT_OPTION(ood_interesting, 0, 500); + INT_OPTION(rare_interesting, 0, 99); else if (key == "note_monsters") { append_vector(note_monsters, split_string(",", field)); |