diff options
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 6fb3700514..3662b31a1a 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -559,6 +559,8 @@ void game_options::reset_options() messaging = true; #endif + mouse_input = false; + view_max_width = VIEW_BASE_WIDTH; view_max_height = VIEW_MIN_HEIGHT; @@ -1873,6 +1875,10 @@ void game_options::read_option_line(const std::string &str, bool runscript) messaging = read_bool(field, messaging); } #endif + else if (key == "mouse_input") + { + mouse_input = read_bool(field, mouse_input); + } else if (key == "view_max_width") { view_max_width = atoi(field.c_str()); |