summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 88655f4be4..b2c8247267 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -2853,9 +2853,8 @@ std::string _mon_enchantments_string(const monsters* mon)
static void _describe_monster(const monsters *mon)
{
// First print type and equipment.
- const int numcols = get_number_of_cols();
std::string text = get_monster_desc(mon) + ".";
- print_formatted_paragraph(text, numcols);
+ print_formatted_paragraph(text);
if (player_mesmerised_by(mon))
mpr("You are mesmerised by her song.", MSGCH_EXAMINE);
@@ -2956,7 +2955,7 @@ static void _describe_monster(const monsters *mon)
text = _mon_enchantments_string(mon);
if (!text.empty())
- print_formatted_paragraph(text, numcols);
+ print_formatted_paragraph(text);
}
// This method is called in two cases:
@@ -3122,7 +3121,7 @@ static void _describe_cell(const coord_def& where, bool in_range)
#else
msg = "(Press <w>v</w> for more information.)";
#endif
- print_formatted_paragraph(msg, get_number_of_cols());
+ print_formatted_paragraph(msg);
}
}
@@ -3202,7 +3201,7 @@ static void _describe_cell(const coord_def& where, bool in_range)
#else
feature_desc += " (Press <w>v</w> for more information.)";
#endif
- print_formatted_paragraph(feature_desc, get_number_of_cols());
+ print_formatted_paragraph(feature_desc);
}
else
{