diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-06-30 14:55:42 +0000 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-06-30 20:52:40 +0200 |
commit | bbe46e6ab5653b2b830d13f8437a563d1cde7257 (patch) | |
tree | 53811888f3e810f02173995eb4126dca1788b354 /crawl-ref/source/l_option.cc | |
parent | 763509e13f2f08373fc4148c7ebc90033b974bf4 (diff) | |
download | crawl-ref-bbe46e6ab5653b2b830d13f8437a563d1cde7257.tar.gz crawl-ref-bbe46e6ab5653b2b830d13f8437a563d1cde7257.zip |
autoswitch renamed to auto_switch, cleaned up, simplified and documented.
Diffstat (limited to 'crawl-ref/source/l_option.cc')
-rw-r--r-- | crawl-ref/source/l_option.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_option.cc b/crawl-ref/source/l_option.cc index f6c4debed3..9f24477966 100644 --- a/crawl-ref/source/l_option.cc +++ b/crawl-ref/source/l_option.cc @@ -35,7 +35,7 @@ static int option_hboolean(lua_State *ls, const char *name, void *data, static option_handler handlers[] = { // Boolean options come first - { "autoswitch", &Options.autoswitch, option_hboolean }, + { "autoswitch", &Options.auto_switch, option_hboolean }, { "colour_map", &Options.colour_map, option_hboolean }, { "clean_map", &Options.clean_map, option_hboolean }, { "show_uncursed", &Options.show_uncursed, option_hboolean }, |