summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-01-26 23:10:14 +0100
committerShmuale Mark <shm.mark@gmail.com>2014-03-11 22:54:41 -0400
commitc5434703b61cb9c3befa8a0969812b8ba2841f35 (patch)
tree93ca524ae310fc170cff2a1bf53a15be9f77f5f0 /crawl-ref/source/invent.cc
parente1215c86b0e34c506d8775575b1ec7b8a4aeb5f3 (diff)
downloadcrawl-ref-c5434703b61cb9c3befa8a0969812b8ba2841f35.tar.gz
crawl-ref-c5434703b61cb9c3befa8a0969812b8ba2841f35.zip
Remove `auto_list` option
It has been defaulting to `true` for a while now. That setting provides a nicer interface overall and there is little reason to support alter- nate input methods. Some prompts asking for a letter have not been adjusted, for example evoking a rod with multiple spells. Those are hopefully gone soon anyways. [Committer's note: The option had no known uses except by bots, and those could work without it. And, of course, multi-spell rods are gone.]
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 919941be33..20a22de42e 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -1406,7 +1406,7 @@ vector<SelItem> prompt_invent_items(
menu_type mtype,
int type_expect,
invtitle_annotator titlefn,
- bool allow_auto_list,
+ bool auto_list,
bool allow_easy_quit,
const char other_valid_char,
vector<text_pattern> *select_filter,
@@ -1419,7 +1419,6 @@ vector<SelItem> prompt_invent_items(
bool need_redraw = false;
bool need_prompt = true;
bool need_getch = true;
- bool auto_list = Options.auto_list && allow_auto_list;
if (auto_list)
{
@@ -1862,7 +1861,7 @@ bool check_warning_inscriptions(const item_def& item,
// Note: This function never checks if the item is appropriate.
int prompt_invent_item(const char *prompt,
menu_type mtype, int type_expect,
- bool must_exist, bool allow_auto_list,
+ bool must_exist, bool auto_list,
bool allow_easy_quit,
const char other_valid_char,
int excluded_slot,
@@ -1893,7 +1892,6 @@ int prompt_invent_item(const char *prompt,
bool need_redraw = false;
bool need_prompt = true;
bool need_getch = true;
- bool auto_list = Options.auto_list && allow_auto_list;
if (auto_list)
{