diff options
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index 8302728722..7aa9b5c2c8 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -362,9 +362,6 @@ bool InvMenu::process_key( int key ) unsigned char InvMenu::getkey() const { unsigned char mkey = lastch; - // Fake an ESCAPE if the menu is empty. - if (!item_count()) - mkey = ESCAPE; if (!isalnum(mkey) && mkey != '$' && mkey != '-' && mkey != '?' && mkey != '*' && mkey != ESCAPE) mkey = ' '; |