summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-30 10:36:00 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-30 10:36:00 -0500
commitb7077e621c3eb495bc2acc0d66f55f87893c03d7 (patch)
tree6d858429e9d30830b1605e4b71c7d8dfdbc7c3a8 /crawl-ref/source/itemprop.cc
parent53aa6239b1e1aa7a8e36db10d6887d7fc3ea2dda (diff)
downloadcrawl-ref-b7077e621c3eb495bc2acc0d66f55f87893c03d7.tar.gz
crawl-ref-b7077e621c3eb495bc2acc0d66f55f87893c03d7.zip
Add formatting fixes.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 0047599d6f..9d22deea8f 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -922,16 +922,15 @@ int get_ammo_brand( const item_def &item )
special_armour_type get_armour_ego_type( const item_def &item )
{
- // Artefact armours have no ego type, must look up powers separately.
+ // Artefact armours have no ego type, must look up powers
+ // separately.
if (item.base_type != OBJ_ARMOUR || is_artefact( item ))
return (SPARM_NORMAL);
return (static_cast<special_armour_type>(item.special));
}
-//
// Armour information and checking functions.
-//
bool hide2armour( item_def &item )
{
if (item.base_type != OBJ_ARMOUR)
@@ -1056,7 +1055,7 @@ bool armour_not_shiny( const item_def &item )
int armour_str_required( const item_def &arm )
{
- ASSERT (arm.base_type == OBJ_ARMOUR );
+ ASSERT( arm.base_type == OBJ_ARMOUR );
int ret = 0;