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/items.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/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index da31f373a2..1e9d234c30 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -3928,10 +3928,7 @@ item_info get_item_info(const item_def& item) else ii.sub_type = jewellery_is_amulet(item) ? NUM_JEWELLERY : NUM_RINGS; if (item_ident(ii, ISFLAG_KNOW_PLUSES)) - { ii.plus = item.plus; // str/dex/int/ac/ev ring plus - ii.plus2 = item.plus2; // slaying damage bonus - } ii.special = item.special; // appearance ii.rnd = item.rnd; // randart appearance break; |