diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2014-04-11 04:23:38 +0200 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-14 23:00:53 -0700 |
commit | 2ff73b2fa81b0674be7a6592ab0f38b3867a949e (patch) | |
tree | 55726a8942bb6e4ec4a958d6a789f6ee7adbb634 /crawl-ref/source/shopping.cc | |
parent | ff84095d8b04a5b2e939fbfb1d8688f82ed4d1a2 (diff) | |
download | crawl-ref-2ff73b2fa81b0674be7a6592ab0f38b3867a949e.tar.gz crawl-ref-2ff73b2fa81b0674be7a6592ab0f38b3867a949e.zip |
Plus2: (JEWEL/WPN) Simplify
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index ba477cdab2..6c65d7086d 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -1100,13 +1100,7 @@ unsigned int item_value(item_def item, bool ident) } if (item_ident(item, ISFLAG_KNOW_PLUSES)) - { - // Blowguns have only plus, no plus2 - if (item.sub_type == WPN_BLOWGUN) - valued += 50 * item.plus; - else - valued += 10 * item.plus + 50 * item.plus2; - } + valued += 50 * item.plus; if (is_artefact(item)) { |