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.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index b9554065c9..646b203065 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1898,14 +1898,15 @@ static char retlet( int sed )
bool is_interesting_item( const item_def& item )
{
- if ( is_random_artefact(item) ||
- is_unrandom_artefact(item) ||
- is_fixed_artefact(item) )
- return true;
+ if (fully_identified(item)
+ && (is_random_artefact(item) ||
+ is_unrandom_artefact(item) ||
+ is_fixed_artefact(item)))
+ return (true);
const std::string iname = item.name(DESC_PLAIN);
for (unsigned i = 0; i < Options.note_items.size(); ++i)
if (Options.note_items[i].matches(iname))
- return true;
- return false;
+ return (true);
+ return (false);
}