summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-12-06 19:11:55 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-12-08 14:24:25 +0100
commit6efa910975ee9276ad90a84016a4bbece541448c (patch)
treef7b941fc676bf2797540032415d226153ab9ef5e /crawl-ref/source/message.cc
parentde30595826d2800afff619d6a1dc01c0d3610950 (diff)
downloadcrawl-ref-6efa910975ee9276ad90a84016a4bbece541448c.tar.gz
crawl-ref-6efa910975ee9276ad90a84016a4bbece541448c.zip
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.
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r--crawl-ref/source/message.cc7
1 files changed, 1 insertions, 6 deletions
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.