diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-11 13:24:53 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-11 13:24:53 +0000 |
commit | 370f12250ba294042472a110a006769e42f1bff4 (patch) | |
tree | 7efb66d450cdf38ff81a0a7e1e6ba3583c1f18ba /crawl-ref/source/initfile.cc | |
parent | 12213fbee2d290bf594b9219ae6720075166ca79 (diff) | |
download | crawl-ref-370f12250ba294042472a110a006769e42f1bff4.tar.gz crawl-ref-370f12250ba294042472a110a006769e42f1bff4.zip |
Added target_unshifted_dirs option to activate old (0.1.x) targeting keymap.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1015 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, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 01764ac3ba..f99126ff23 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -665,6 +665,8 @@ void game_options::reset_options() target_wrap = true; target_oos = true; target_los_first = true; + target_unshifted_dirs = false; + dump_kill_places = KDO_ONE_PLACE; dump_message_count = 7; dump_item_origins = IODS_ARTIFACTS | IODS_RODS; @@ -2227,6 +2229,10 @@ void game_options::read_option_line(const std::string &str, bool runscript) { target_los_first = read_bool(field, target_los_first); } + else if (key == "target_unshifted_dirs") + { + target_unshifted_dirs = read_bool(field, target_unshifted_dirs); + } else if (key == "drop_mode") { if (field.find("multi") != std::string::npos) |