summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-22 07:16:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-22 07:16:50 +0000
commit96a447410eabfc50aadc628f4ce27c6cbc4b2353 (patch)
tree5e6359d364498b76683a5ce500846c8685b5d263 /crawl-ref/source/delay.cc
parent60d6f32de9c98c67fc5735eede1e08dcf4d3deda (diff)
downloadcrawl-ref-96a447410eabfc50aadc628f4ce27c6cbc4b2353.tar.gz
crawl-ref-96a447410eabfc50aadc628f4ce27c6cbc4b2353.zip
Condensed monster descriptions.
This has two effecs: 1. Monster name and equipment are combined in one line, and enchantments are condensed as well. 2. It's now "The monster wielding a foo comes into view." git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2024 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index abbeadd299..d83e93118b 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -994,8 +994,11 @@ inline static void monster_warning(activity_interrupt_type ai,
return;
#ifndef DEBUG_DIAGNOSTICS
if (at.context != "uncharm")
- mprf(MSGCH_WARN, "%s comes into view.",
- mon->name(DESC_CAP_A).c_str());
+ {
+ std::string text = get_monster_desc(mon, false);
+ text += " comes into view.";
+ print_formatted_paragraph(text, get_number_of_cols(), MSGCH_WARN);
+ }
if (Options.tutorial_left)
{