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.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index b6cbb48e9d..f9bf2de229 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -84,8 +84,10 @@ std::string item_def::name(description_level_type descrip,
unsigned long ignore_flags) const
{
if (crawl_state.arena)
+ {
ignore_flags |= ISFLAG_KNOW_PLUSES | ISFLAG_KNOW_CURSE
- | ISFLAG_COSMETIC_MASK;
+ | ISFLAG_COSMETIC_MASK;
+ }
if (descrip == DESC_NONE)
return ("");