summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/options.h
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-12-30 08:08:49 +0100
committerNeil Moore <neil@s-z.org>2013-12-30 16:33:36 -0500
commit5c0f9e6d2fb219c9093b18beb4e7c5c1ee5fe35d (patch)
tree4bf30e85445a97c46f1ddcb7baf08a224acf97bb /crawl-ref/source/options.h
parent0f97eb19f4361653d9426d71b968a6bef6132b29 (diff)
downloadcrawl-ref-5c0f9e6d2fb219c9093b18beb4e7c5c1ee5fe35d.tar.gz
crawl-ref-5c0f9e6d2fb219c9093b18beb4e7c5c1ee5fe35d.zip
Remove `pickup_mode` option, introduce `pickup_menu`
End result is that: * `pickup_menu = true` is old `pickup_mode = multi`, and new default * `pickup_menu = false` is old `pickup_mode = single` * `pickup_mode = auto:X` is gone without replacement for being of little use Recognizing the old option in initfile did not make much sense either because the default changed: Old `multi` was the only setting that anybody would include in their rcfile, and that one is now meaningless. So if your config until now included a line like the following: pickup_mode = multi you can now safely remove this. If you prefer the old default behavior, use this option from now on: pickup_menu = false
Diffstat (limited to 'crawl-ref/source/options.h')
-rw-r--r--crawl-ref/source/options.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/options.h b/crawl-ref/source/options.h
index 371ba0ed14..6a5c18b569 100644
--- a/crawl-ref/source/options.h
+++ b/crawl-ref/source/options.h
@@ -337,8 +337,7 @@ public:
int drop_mode; // Controls whether single or multidrop
// is the default.
- int pickup_mode; // -1 for single, 0 for menu,
- // X for 'if at least X items present'
+ bool pickup_menu; // false for single, true for menu
bool easy_exit_menu; // Menus are easier to get out of