diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-22 19:08:33 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-22 19:08:33 +0000 |
commit | b1fc09d91808c13e44e12b7d95b1f1cf5e9a1a70 (patch) | |
tree | 2043afd18591e82c98cc46f8d631174a8ec63cb6 /crawl-ref/source/shopping.cc | |
parent | cabed2e3fe3ee28462ab548793aba10f6d5f8ca1 (diff) | |
download | crawl-ref-b1fc09d91808c13e44e12b7d95b1f1cf5e9a1a70.tar.gz crawl-ref-b1fc09d91808c13e44e12b7d95b1f1cf5e9a1a70.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8701 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 56aeb2df3c..7c82c806cd 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -944,14 +944,14 @@ unsigned int item_value( item_def item, bool ident ) switch (item.sub_type) { case MI_DART: - case MI_LARGE_ROCK: case MI_STONE: + case MI_LARGE_ROCK: case MI_NONE: valued++; break; + case MI_NEEDLE: case MI_ARROW: case MI_BOLT: - case MI_NEEDLE: valued += 2; break; case MI_JAVELIN: |