summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-04-10 00:51:14 +0200
committerNicholas Feinberg <pleasingfung@gmail.com>2014-06-13 23:41:47 -0700
commitfb1f07938f338f48beaa5f386ca8431d4474e460 (patch)
treef78cf96874bbafdf75f2a9bb18741750fe312548 /crawl-ref/source/item_use.cc
parent3832802e78ab0fb923eb014c907b8b8fbc1f9715 (diff)
downloadcrawl-ref-fb1f07938f338f48beaa5f386ca8431d4474e460.tar.gz
crawl-ref-fb1f07938f338f48beaa5f386ca8431d4474e460.zip
Simplify some code now that slaying only uses item.plus
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 3c736ebbbe..70cf8da570 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -1186,7 +1186,6 @@ static bool _swap_rings(int ring_slot)
{
if (ring->sub_type != first_ring->sub_type
|| ring->plus != first_ring->plus
- || ring->plus2 != first_ring->plus2
|| is_artefact(*ring) || is_artefact(*first_ring))
{
all_same = false;