summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.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/delay.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/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc4
1 files changed, 1 insertions, 3 deletions
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<monsters*>(mon)->seen_context = "just seen";
}