From 1943b5433a19b4bd52a9abe62e17b75fceaa2f3b Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 25 Jun 2007 08:05:32 +0000 Subject: Fix for 1739988: fully_identified() was mishandling known types. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1645 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 20724ebca9..0b631c3045 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -510,6 +510,10 @@ unsigned long full_ident_mask( const item_def& item ) default: break; } + + if (item_type_known(item)) + flagset &= (~ISFLAG_KNOW_TYPE); + if ( is_random_artefact(item) || is_fixed_artefact(item) ) { -- cgit v1.2.3-54-g00ecf