diff options
-rw-r--r-- | crawl-ref/source/spells1.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 1a1609dbda..bb5f9904f3 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -374,6 +374,11 @@ void identify(int power) canned_msg( MSG_OK ); return; } + if ( fully_identified(you.inv[item_slot]) ) + { + mpr("Choose an unidentified item, or Esc to abort."); + continue; + } set_ident_type( you.inv[item_slot].base_type, you.inv[item_slot].sub_type, ID_KNOWN_TYPE ); |