diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-08-14 02:43:36 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-08-14 02:44:20 -0400 |
commit | 00d6247dd3f9fdcd58df1d1e8ab13913566c4571 (patch) | |
tree | 9fbc351c6c819c717bad0d5bdf4b59c90001258f /crawl-ref/source/monster.cc | |
parent | 49c2c94070c5a027f7dcb51c6a4bc6c29564ccad (diff) | |
download | crawl-ref-00d6247dd3f9fdcd58df1d1e8ab13913566c4571.tar.gz crawl-ref-00d6247dd3f9fdcd58df1d1e8ab13913566c4571.zip |
"Maras are frozen" -> "The Maras are frozen" (5054)
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r-- | crawl-ref/source/monster.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index dd7e2e2288..5198f782b1 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -2486,13 +2486,17 @@ static string _mon_special_name(const monster& mon, description_level_type desc, return ""; } -string monster::name(description_level_type desc, bool force_vis) const +string monster::name(description_level_type desc, bool force_vis, + bool force_article) const { string s = _mon_special_name(*this, desc, force_vis); if (!s.empty() || desc == DESC_NONE) return s; monster_info mi(this, MILEV_NAME); + // i.e. to produce "the Maras" instead of just "Maras" + if (force_article) + mi.mb.set(MB_NAME_UNQUALIFIED, false); return mi.proper_name(desc) #ifdef DEBUG_MONSTERS // This is incredibly spammy, too bad for regular debug builds, but |