summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-06-10 13:52:15 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-06-10 21:52:02 +0200
commitcf79d47f52d1b2892b813d412e4bf2d5dcd910f4 (patch)
tree3264ab1b7a26869d45fc01db439d72389ea05bc1 /crawl-ref/source/menu.cc
parent2dd1f84e9001e8f0d1e025ccbc412091278a1dd2 (diff)
downloadcrawl-ref-cf79d47f52d1b2892b813d412e4bf2d5dcd910f4.tar.gz
crawl-ref-cf79d47f52d1b2892b813d412e4bf2d5dcd910f4.zip
Don't show selected item count in autopickup menu.
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r--crawl-ref/source/menu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc
index 04f107d18c..595f724f62 100644
--- a/crawl-ref/source/menu.cc
+++ b/crawl-ref/source/menu.cc
@@ -90,7 +90,7 @@ void MenuDisplayTile::draw_stock_item(int index, const MenuEntry *me)
const bool needs_cursor = (m_menu->get_cursor() == index
&& m_menu->is_set(MF_MULTISELECT));
std::string text = me->get_text(needs_cursor);
- tiles.get_menu()->set_entry(index, text, colour, me, !m_menu->is_set(MF_NO_MARK_SELECTED));
+ tiles.get_menu()->set_entry(index, text, colour, me, !m_menu->is_set(MF_QUIET_SELECT));
}
void MenuDisplayTile::set_offset(int lines)
@@ -675,7 +675,7 @@ std::string Menu::get_select_count_string(int count) const
void Menu::draw_select_count(int count, bool force)
{
- if (!force && !is_set(MF_MULTISELECT))
+ if (is_set(MF_QUIET_SELECT) || !force && !is_set(MF_MULTISELECT))
return;
draw_title_suffix(get_select_count_string(count));