summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 86d7c1c10a..2704b3efe6 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -604,6 +604,7 @@ void game_options::reset_options()
easy_open = true;
easy_unequip = true;
easy_butcher = true;
+ always_confirm_butcher = false;
easy_confirm = CONFIRM_SAFE_EASY;
easy_quit_item_prompts = true;
hp_warning = 10;
@@ -1684,6 +1685,10 @@ void game_options::read_option_line(const std::string &str, bool runscript)
// automatic knife switching
easy_butcher = read_bool( field, easy_butcher );
}
+ else if (key == "always_confirm_butcher")
+ {
+ always_confirm_butcher = read_bool( field, always_confirm_butcher );
+ }
else if (key == "lua_file" && runscript)
{
#ifdef CLUA_BINDINGS