summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-29 11:51:51 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-29 11:51:51 +0000
commit664250db33d8823ee68385eb72df9c46cc0a116d (patch)
tree970e946a8d9668531060d61787569f8acef51456 /crawl-ref/source/item_use.cc
parent54ae950ba703ab597f9622495f1521d678973111 (diff)
downloadcrawl-ref-664250db33d8823ee68385eb72df9c46cc0a116d.tar.gz
crawl-ref-664250db33d8823ee68385eb72df9c46cc0a116d.zip
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
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc4
1 files changed, 4 insertions, 0 deletions
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;
}