summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-01-11 22:31:55 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-01-11 22:31:55 +0100
commit2131c7d87bfcae3e6192678e37f76f08970bb659 (patch)
treedbeca7feb7cafadc98f9cd1377994f78bffc686c /crawl-ref/source/itemname.cc
parentebd4b71650061cd625b5fccb95442a8f8e8433ac (diff)
downloadcrawl-ref-2131c7d87bfcae3e6192678e37f76f08970bb659.tar.gz
crawl-ref-2131c7d87bfcae3e6192678e37f76f08970bb659.zip
Don't mark weapons of pain as useless with Necro=0, they're same as unbranded.
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index fa8bbc9332..3b8fdd45d2 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -2613,8 +2613,6 @@ bool is_useless_item(const item_def &item, bool temp)
{
case SPWPN_HOLY_WRATH:
return (you.is_undead);
- case SPWPN_PAIN:
- return (temp && !you.skills[SK_NECROMANCY] && !is_artefact(item));
}
return (false);