From 664250db33d8823ee68385eb72df9c46cc0a116d Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 29 Sep 2008 11:51:51 +0000 Subject: Identify Horn of Geryon when wielding. [2082703] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7067 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index ab1fc8e335..73e21523d9 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -504,6 +504,10 @@ void wield_effects(int item_wield_2, bool showMsgs) setLOSRadius(you.current_vision); you.special_wield = SPWLD_SHADOW; } + else if (item.sub_type == MISC_HORN_OF_GERYON) + { + set_ident_flags(item, ISFLAG_IDENT_MASK); + } break; } -- cgit v1.2.3-54-g00ecf