summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-09 21:35:56 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-09 21:35:56 +0000
commit45907051a75eb3c184050202066d4ea419ea38c5 (patch)
tree9ed7e29e2e461443ab21d4fd92f0fd316a94cabd /crawl-ref/source/invent.cc
parente3af78b8bb3ad47ea17162e6ef591ca881f0370e (diff)
downloadcrawl-ref-45907051a75eb3c184050202066d4ea419ea38c5.tar.gz
crawl-ref-45907051a75eb3c184050202066d4ea419ea38c5.zip
Call flush_prev_message() in prompt_invent_item().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9399 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index aa7a0f7016..014054a747 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -1449,6 +1449,8 @@ int prompt_invent_item( const char *prompt,
if (need_prompt)
mpr(prompt, MSGCH_PROMPT);
+ else
+ flush_prev_message();
if (need_getch)
keyin = get_ch();