diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 18:09:07 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 18:09:07 +0000 |
commit | 131216891cbe3539a153395c83f74ac52c216d0a (patch) | |
tree | 3683158f6664cfc6299be925522e1429441c22ca /crawl-ref/source/initfile.cc | |
parent | c633c00ef638ec158bec19947461ea6ec7b4e86a (diff) | |
download | crawl-ref-131216891cbe3539a153395c83f74ac52c216d0a.tar.gz crawl-ref-131216891cbe3539a153395c83f74ac52c216d0a.zip |
Further split up initfile.cc if-else chain for VC++. We'll want to break up this code entirely into a lookup table for future releases.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4416 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index f822989c55..03cffd47da 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -1963,7 +1963,8 @@ void game_options::read_option_line(const std::string &str, bool runscript) { set_fire_order(field, plus_equal); } - else BOOL_OPTION(random_pick); + + BOOL_OPTION(random_pick); else BOOL_OPTION(remember_name); #ifndef SAVE_DIR_PATH else if (key == "save_dir") @@ -2248,7 +2249,8 @@ void game_options::read_option_line(const std::string &str, bool runscript) } } } - else BOOL_OPTION(pickup_thrown); + + BOOL_OPTION(pickup_thrown); else BOOL_OPTION(pickup_dropped); #ifdef WIZARD else if (key == "fsim_kit") |