From 22e8777cd20d3bf9a9bce64901c4838f99fe9326 Mon Sep 17 00:00:00 2001 From: haranp Date: Wed, 4 Feb 2009 20:47:43 +0000 Subject: 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 --- crawl-ref/source/delay.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crawl-ref/source/delay.cc') diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc index 276ee762e4..08a7e92d9f 100644 --- a/crawl-ref/source/delay.cc +++ b/crawl-ref/source/delay.cc @@ -1828,9 +1828,7 @@ inline static bool _monster_warning(activity_interrupt_type ai, text += " " + mon->pronoun(PRONOUN_CAP) + " is" + mweap + "."; } - print_formatted_paragraph(text, - get_number_of_cols(), - MSGCH_WARN); + print_formatted_paragraph(text, MSGCH_WARN); const_cast(mon)->seen_context = "just seen"; } -- cgit v1.2.3-54-g00ecf