diff options
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 7 |
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; |