summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-18 14:57:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-18 14:57:52 +0000
commit564115dd01a10153ad421df67b1b008fe514cf0c (patch)
tree6eed91aab5f04e09745bb9de14bc9ab3ef98f281 /crawl-ref/source/output.cc
parentacb58afeec9184c1910f705da7bae843b9fc14a8 (diff)
downloadcrawl-ref-564115dd01a10153ad421df67b1b008fe514cf0c.tar.gz
crawl-ref-564115dd01a10153ad421df67b1b008fe514cf0c.zip
Show place as "Sewer" in the HUD and in character dumps for the sewer portal vaults (portal vault entry marker's dst field is used as the name). Portal vault entrance is replaced with stone arch on use.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7474 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 59d4daf10e..2dbc1a9649 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -893,8 +893,8 @@ static std::string _level_description_string_hud()
else if (place.level_type == LEVEL_PORTAL_VAULT
|| place.level_type == LEVEL_LABYRINTH)
{
- if (you.level_type_name == "bazaar")
- short_name = "A Bazaar";
+ if (!you.level_type_name.empty())
+ short_name = article_a(upcase_first(you.level_type_name), false);
else
short_name.insert(0, "A ");
}