summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index a96d9ef08a..94bffc1521 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4631,6 +4631,7 @@ 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;
@@ -4677,7 +4678,7 @@ static bool _scroll_modify_item(item_def scroll)
}
break;
default:
- mpr("Buggy scroll can't modify item!");
+ mprf("Buggy scroll %d can't modify item!", scroll.sub_type);
break;
}