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.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index cc17f9ce2e..7ae8372e2c 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -83,6 +83,10 @@ std::string item_def::name(description_level_type descrip,
bool quantity_words,
unsigned long ignore_flags) const
{
+ if (crawl_state.arena)
+ ignore_flags |= ISFLAG_KNOW_PLUSES | ISFLAG_KNOW_CURSE
+ | ISFLAG_COSMETIC_MASK;
+
if (descrip == DESC_NONE)
return ("");
@@ -1726,7 +1730,7 @@ id_arr& get_typeid_array()
void set_ident_type( item_def &item, item_type_id_state_type setting,
bool force )
{
- if (is_artefact(item))
+ if (is_artefact(item) || crawl_state.arena)
return;
item_type_id_state_type old_setting = get_ident_type(item);