From 9c825029344d1ab8e5e85987a375cbae9109e2ce Mon Sep 17 00:00:00 2001 From: zelgadis Date: Thu, 19 Jun 2008 05:05:08 +0000 Subject: For jewellery with pluses and wands, only make an ident note when the first item of the type is identified, not when the charges/pluses of any item of the type is identified. Make sure that artefacts have nothing to do with the identification level of jewellery by making versions of set_ident_type() and get_ident_type() which accept a full item_def as a parameter. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5973 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/stash.cc') diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index 1172c4abd0..5bdb3a7855 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -131,7 +131,7 @@ static void fully_identify_item(item_def *item) set_ident_flags( *item, ISFLAG_IDENT_MASK ); if (item->base_type != OBJ_WEAPONS) - set_ident_type( item->base_type, item->sub_type, ID_KNOWN_TYPE ); + set_ident_type( *item, ID_KNOWN_TYPE ); } // ---------------------------------------------------------------------- -- cgit v1.2.3-54-g00ecf