summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godpassive.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-27 21:49:15 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-04-27 21:56:54 +0100
commitf4ec9ec677614d8872e66ddbc6e19e3c1d6ed261 (patch)
treee9cf298edc54058bd4a65da051b3790bfdc93366 /crawl-ref/source/godpassive.cc
parent1dd20605e3e59f1f2a2814878713c57860a6dd2b (diff)
downloadcrawl-ref-f4ec9ec677614d8872e66ddbc6e19e3c1d6ed261.tar.gz
crawl-ref-f4ec9ec677614d8872e66ddbc6e19e3c1d6ed261.zip
Remove unused Ashenzari identification handling
Diffstat (limited to 'crawl-ref/source/godpassive.cc')
-rw-r--r--crawl-ref/source/godpassive.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/crawl-ref/source/godpassive.cc b/crawl-ref/source/godpassive.cc
index a11447cf5f..9e18ff69c1 100644
--- a/crawl-ref/source/godpassive.cc
+++ b/crawl-ref/source/godpassive.cc
@@ -402,28 +402,6 @@ bool god_id_item(item_def& item, bool silent)
{
ided |= ISFLAG_KNOW_PLUSES;
}
-
- if (you.species != SP_OCTOPODE && item.base_type == OBJ_JEWELLERY
- && you.piety >= piety_breakpoint(1)
- && (jewellery_is_amulet(item) ?
- _is_slot_cursed(EQ_AMULET) :
- (_is_slot_cursed(EQ_LEFT_RING) && _is_slot_cursed(EQ_RIGHT_RING))
- ))
- {
- ided |= ISFLAG_IDENT_MASK;
- }
- else if (you.species == SP_OCTOPODE && item.base_type == OBJ_JEWELLERY
- && you.piety >= piety_breakpoint(1)
- && (jewellery_is_amulet(item) ?
- _is_slot_cursed(EQ_AMULET) :
- (_is_slot_cursed(EQ_RING_ONE) && _is_slot_cursed(EQ_RING_TWO) &&
- _is_slot_cursed(EQ_RING_THREE) && _is_slot_cursed(EQ_RING_FOUR) &&
- _is_slot_cursed(EQ_RING_FIVE) && _is_slot_cursed(EQ_RING_SIX) &&
- _is_slot_cursed(EQ_RING_SEVEN) && _is_slot_cursed(EQ_RING_EIGHT))
- ))
- {
- ided |= ISFLAG_IDENT_MASK;
- }
}
else if (you_worship(GOD_ELYVILON))
{