diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2014-04-10 00:51:14 +0200 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-13 23:41:47 -0700 |
commit | fb1f07938f338f48beaa5f386ca8431d4474e460 (patch) | |
tree | f78cf96874bbafdf75f2a9bb18741750fe312548 /crawl-ref/source/itemname.cc | |
parent | 3832802e78ab0fb923eb014c907b8b8fbc1f9715 (diff) | |
download | crawl-ref-fb1f07938f338f48beaa5f386ca8431d4474e460.tar.gz crawl-ref-fb1f07938f338f48beaa5f386ca8431d4474e460.zip |
Simplify some code now that slaying only uses item.plus
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 7 |
1 files changed, 1 insertions, 6 deletions
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); } |