diff options
author | Neil Moore <neil@s-z.org> | 2014-05-29 01:37:36 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-29 02:22:32 -0400 |
commit | a22ca7f95ff93f2a5e81679baa613107dd0573c5 (patch) | |
tree | fae0e8be18fc8688455f9b869c31d914f27e3c07 /crawl-ref/source/invent.cc | |
parent | 8ea69f7e867fccf0acf756bc98f7058873387266 (diff) | |
download | crawl-ref-a22ca7f95ff93f2a5e81679baa613107dd0573c5.tar.gz crawl-ref-a22ca7f95ff93f2a5e81679baa613107dd0573c5.zip |
Omit selection indicator for items with no hotkey.
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index eea90d777d..ea71fc79fd 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -206,7 +206,9 @@ string InvEntry::get_text(bool need_cursor) const else tstr << ' '; - if (!selected_qty) + if (nosel) + tstr << ' '; + else if (!selected_qty) tstr << '-'; else if (selected_qty < quantity) tstr << '#'; |