diff options
-rw-r--r-- | crawl-ref/source/invent.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/item_use.cc | 1 | ||||
-rw-r--r-- | crawl-ref/source/spl-book.cc | 1 |
3 files changed, 2 insertions, 2 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(); diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 94bffc1521..5edbe9ee99 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -4631,7 +4631,6 @@ static void handle_read_book(int item_slot) static bool _scroll_modify_item(item_def scroll) { ASSERT(scroll.base_type == OBJ_SCROLLS); - flush_prev_message(); // Get the slot of the scroll just read. int item_slot = scroll.slot; diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index a7abd01d38..7f6c98f44e 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -1075,7 +1075,6 @@ static int _which_spellbook( void ) mprf("You can memorise %d more level%s of spells.", avail_levels, (avail_levels > 1) ? "s" : "" ); - flush_prev_message(); book = prompt_invent_item("Memorise from which spellbook?", MT_INVLIST, OSEL_MEMORISE ); |