From 6efa910975ee9276ad90a84016a4bbece541448c Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sun, 6 Dec 2009 19:11:55 +0100 Subject: Do also increment message count for prompts. Otherwise, the line count is off when prompts are involved, causing the "more" prompt to overwrite the last line. --- crawl-ref/source/message.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/message.cc') diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index 015894c1fb..4dbff6c4b4 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -709,12 +709,7 @@ static void mpr_store_messages(const std::string& message, } } - // Prompt lines are presumably shown to / seen by the player accompanied - // by a request for input, which should do the equivalent of a more(); to - // save annoyance, don't bump New_Message_Count for prompts. - if (channel != MSGCH_PROMPT) - New_Message_Count++; - + New_Message_Count++; Message_Line++; // Reset colour. -- cgit v1.2.3-54-g00ecf