diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-25 09:02:49 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-25 09:02:49 +0000 |
commit | 57bdaabbe48d32989e7c69b8d66041e683fe1d49 (patch) | |
tree | d9e39f67f1a0ac9d3ad085bdf96f23cf7d4ac739 | |
parent | db5cbf586b48a77a55c2bb0433bef17b4b766ee9 (diff) | |
download | crawl-ref-57bdaabbe48d32989e7c69b8d66041e683fe1d49.tar.gz crawl-ref-57bdaabbe48d32989e7c69b8d66041e683fe1d49.zip |
Reset Message_Line and New_Message_Count to 0 after loading message history
from the save file. This fixes a two-fold bug with the tutorial "welcome
back" message, a lack of a --more-- prompt and some line-wrapping glitches.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9826 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/message.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index a5a31ca6a4..6b0f4f111f 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -1185,6 +1185,7 @@ void load_messages(reader& inf) for (int k = 0; k < repeats; k++) mpr_store_messages(text, channel, param, colour); } + mesclr(true); } void replay_messages(void) |