summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/itemname.cc7
-rw-r--r--crawl-ref/source/itemprop.cc7
2 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index f7f89d8aa6..26210874c8 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1387,12 +1387,7 @@ std::string item_def::name_aux( description_level_type desc,
case OBJ_MISCELLANY:
if ( item_typ == MISC_RUNE_OF_ZOT )
- {
- buff << rune_type_name(it_plus) << " rune";
-
- if (know_type)
- buff << " of Zot";
- }
+ buff << rune_type_name(it_plus) << " rune of Zot";
else
{
if ( is_deck(*this) )
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 1841a8e856..e0630da891 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -555,8 +555,13 @@ unsigned long full_ident_mask( const item_def& item )
case OBJ_FOOD:
flagset = 0;
break;
- case OBJ_BOOKS:
case OBJ_MISCELLANY:
+ if ( item.sub_type == MISC_RUNE_OF_ZOT )
+ flagset = 0;
+ else
+ flagset = ISFLAG_KNOW_TYPE;
+ break;
+ case OBJ_BOOKS:
case OBJ_ORBS:
case OBJ_SCROLLS:
case OBJ_POTIONS: