From fb1f07938f338f48beaa5f386ca8431d4474e460 Mon Sep 17 00:00:00 2001 From: Chris Oelmueller Date: Thu, 10 Apr 2014 00:51:14 +0200 Subject: Simplify some code now that slaying only uses item.plus --- crawl-ref/source/itemname.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/itemname.cc') diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index e12c32c4a4..d2e9fe187f 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -1662,12 +1662,7 @@ string item_def::name_aux(description_level_type desc, bool terse, bool ident, if (know_type) { if (know_pluses && ring_has_pluses(*this)) - { - if (ring_has_pluses(*this) == 2) - buff << make_stringf("%+d,%+d ", it_plus, item_plus2); - else - buff << make_stringf("%+d ", it_plus); - } + buff << make_stringf("%+d ", it_plus); buff << jewellery_type_name(item_typ); } -- cgit v1.2.3-54-g00ecf