summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-05 22:01:58 -0400
committerNeil Moore <neil@s-z.org>2014-07-05 22:21:28 -0400
commit3d2a0df9fdb6e46349e48701897ec4acec95a548 (patch)
tree8caba590262b4763184fef69dc1558d860667b89 /crawl-ref/source/items.cc
parentceea6a155e3bee001770670fc9f21dfe9ab668d8 (diff)
downloadcrawl-ref-3d2a0df9fdb6e46349e48701897ec4acec95a548.tar.gz
crawl-ref-3d2a0df9fdb6e46349e48701897ec4acec95a548.zip
Reformat.
Mostly by joining short lines in places where that would let us remove braces.
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 4d366599be..ccd05e542b 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -4002,11 +4002,12 @@ item_info get_item_info(const item_def& item)
ii.sub_type = item.sub_type;
else
{
- if (item.sub_type >= MISC_DECK_OF_ESCAPE && item.sub_type <= MISC_DECK_OF_DEFENCE)
+ if (item.sub_type >= MISC_DECK_OF_ESCAPE
+ && item.sub_type <= MISC_DECK_OF_DEFENCE)
{
- ii.sub_type = NUM_MISCELLANY; // Needs to be changed if we add other
- // miscellaneous items that can be
- // non-identified
+ // Needs to be changed if we add other miscellaneous items
+ // that can be non-identified.
+ ii.sub_type = NUM_MISCELLANY;
}
else
ii.sub_type = item.sub_type;