diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-26 11:53:43 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-26 11:56:05 +0100 |
commit | 0ff2cc1976f12a936e28a1fae7e6b6b8ed32da78 (patch) | |
tree | 60a0fdf6ff8ffaa7dd4acd0c5659878f3ea7cfd5 /crawl-ref/source/message.cc | |
parent | 42b35070b303309b6eaea71360b8bbdbdf94d375 (diff) | |
download | crawl-ref-0ff2cc1976f12a936e28a1fae7e6b6b8ed32da78.tar.gz crawl-ref-0ff2cc1976f12a936e28a1fae7e6b6b8ed32da78.zip |
Flush previous messages in more().
This fixes the level up message disappearing with
delay_message_clear and is probably the right thing to do
anyway.
Before, the ---more--- would be printed before older messages
were shown.
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r-- | crawl-ref/source/message.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index 571aae7c65..d4f99b45ad 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -1066,6 +1066,8 @@ void more(bool user_forced) if (Options.show_more_prompt && !suppress_messages) { + flush_prev_message(); + int keypress = 0; if (Tutorial.tutorial_left) |