summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-04 20:47:43 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-04 20:47:43 +0000
commit22e8777cd20d3bf9a9bce64901c4838f99fe9326 (patch)
tree70880152136ee9d5d0156c5df0555912ad73a449 /crawl-ref/source/state.cc
parent013e0c0e9f3d7f35d9a9f8565622f4d7f3d17dee (diff)
downloadcrawl-ref-22e8777cd20d3bf9a9bce64901c4838f99fe9326.tar.gz
crawl-ref-22e8777cd20d3bf9a9bce64901c4838f99fe9326.zip
Don't pass number of columns to print_formatted_paragraph(), since it always
uses the width of the screen anyway. Have print_formatted_paragraph() respect delay_message_clear. Fixes [2492045]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8894 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r--crawl-ref/source/state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index 3981bf2aa4..a0023224b7 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -197,7 +197,7 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai,
{
std::string text = get_monster_desc(mon, false);
text += " comes into view.";
- print_formatted_paragraph(text, get_number_of_cols(), MSGCH_WARN);
+ print_formatted_paragraph(text, MSGCH_WARN);
}
if (Options.tutorial_left)