From 664bcb001295eee155ad14e40bb71446689d0063 Mon Sep 17 00:00:00 2001 From: haranp Date: Wed, 7 Nov 2007 19:10:55 +0000 Subject: Runes no longer need ID [1826900] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2791 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/itemprop.cc') 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: -- cgit v1.2.3-54-g00ecf