summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-18 14:28:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-18 14:28:10 +0000
commitd910b3ca1970edcb272f82381486e5d734bf09d4 (patch)
treefedb84917de949b077900797a552a34d8db45fde /crawl-ref/source
parent520d68077bf669ded9ec54a1811c0ce04dd68e28 (diff)
downloadcrawl-ref-d910b3ca1970edcb272f82381486e5d734bf09d4.tar.gz
crawl-ref-d910b3ca1970edcb272f82381486e5d734bf09d4.zip
[1936687] Show inscriptions for DESC_PLAIN (cbus).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6602 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/itemname.cc2
-rw-r--r--crawl-ref/source/output.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 2d02dccdef..daff922b71 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -240,7 +240,7 @@ std::string item_def::name(description_level_type descrip,
}
}
- if (descrip != DESC_PLAIN && descrip != DESC_BASENAME)
+ if (descrip != DESC_BASENAME)
{
const bool tried = !ident && !equipped && item_type_tried(*this);
std::string tried_str = "";
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 6df4b409ef..92963b99ec 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -468,7 +468,7 @@ static void _print_stats_wp(int y)
textcolor(prefcol);
cprintf("%s",
- wpn.name(DESC_INVENTORY, true)
+ wpn.name(DESC_INVENTORY, true, false, true)
.substr(0, crawl_view.hudsz.x - 4).c_str());
textcolor(LIGHTGREY);
}