summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/melee_attack.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-12 04:21:25 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-12 05:00:38 +0100
commit4f0ef79f26417a680cfc16018a6655407fd977ee (patch)
tree02eeebe7cfe039dfcee983ca67a6775e53b6df27 /crawl-ref/source/melee_attack.cc
parent020cafce5921f89eabdaa160e78ceaf4ff955e4e (diff)
downloadcrawl-ref-4f0ef79f26417a680cfc16018a6655407fd977ee.tar.gz
crawl-ref-4f0ef79f26417a680cfc16018a6655407fd977ee.zip
Remove various references to use-IDing jewellery that now identifies on equip
There's probably a bunch more obsolete code for this still lying around.
Diffstat (limited to 'crawl-ref/source/melee_attack.cc')
-rw-r--r--crawl-ref/source/melee_attack.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/crawl-ref/source/melee_attack.cc b/crawl-ref/source/melee_attack.cc
index c9178bd42d..6afc76e7f5 100644
--- a/crawl-ref/source/melee_attack.cc
+++ b/crawl-ref/source/melee_attack.cc
@@ -2519,15 +2519,6 @@ bool melee_attack::attack_warded_off()
atk_name(DESC_THE).c_str(),
defender_name().c_str());
}
-
- if (defender->is_player()
- && you.wearing(EQ_AMULET, AMU_WARDING, true)
- && !you.wearing(EQ_STAFF, STAFF_SUMMONING, true))
- {
- item_def *amu = you.slot_item(EQ_AMULET);
- ASSERT(amu);
- wear_id_type(*amu);
- }
return true;
}