summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-25 08:05:32 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-25 08:05:32 +0000
commit1943b5433a19b4bd52a9abe62e17b75fceaa2f3b (patch)
treed2ea29ffe864b4344b6166ddabe7a9bb89a2a9f2 /crawl-ref/source/itemprop.cc
parent2fa1874368e698dd714f4748d2ca8b50056bde58 (diff)
downloadcrawl-ref-1943b5433a19b4bd52a9abe62e17b75fceaa2f3b.tar.gz
crawl-ref-1943b5433a19b4bd52a9abe62e17b75fceaa2f3b.zip
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
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc4
1 files changed, 4 insertions, 0 deletions
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) )
{