summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 0ca583f975..8c3561ffa3 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1145,7 +1145,10 @@ std::string item_def::name_aux( description_level_type desc,
if (testbits(ignore_flags, ISFLAG_EMBROIDERED_SHINY))
break;
if (item_typ == ARM_ROBE || item_typ == ARM_CLOAK
- || item_typ == ARM_GLOVES || item_typ == ARM_BOOTS)
+ || item_typ == ARM_GLOVES || item_typ == ARM_BOOTS
+ || (item_typ == ARM_HELMET &&
+ (get_helmet_type( *this ) == THELM_CAP ||
+ get_helmet_type( *this ) == THELM_WIZARD_HAT)))
{
buff << "embroidered ";
}