diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 25 | ||||
-rw-r--r-- | crawl-ref/source/itemprop.h | 1 |
2 files changed, 0 insertions, 26 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 67239a4295..96a3f4d3ed 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -1054,31 +1054,6 @@ bool armour_is_hide( const item_def &item, bool inc_made ) return (false); } -// Used to distinguish shiny and embroidered. -bool armour_not_shiny( const item_def &item ) -{ - ASSERT( item.base_type == OBJ_ARMOUR ); - - switch (item.sub_type) - { - case ARM_ROBE: - case ARM_CLOAK: - case ARM_GLOVES: - case ARM_BOOTS: - case ARM_NAGA_BARDING: - case ARM_CENTAUR_BARDING: - case ARM_LEATHER_ARMOUR: - case ARM_ANIMAL_SKIN: - case ARM_TROLL_HIDE: - case ARM_TROLL_LEATHER_ARMOUR: - case ARM_CAP: - case ARM_WIZARD_HAT: - return (true); - } - - return (false); -} - equipment_type get_armour_slot( const item_def &item ) { ASSERT( item.base_type == OBJ_ARMOUR ); diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h index fce3044e82..3d7b57383c 100644 --- a/crawl-ref/source/itemprop.h +++ b/crawl-ref/source/itemprop.h @@ -627,7 +627,6 @@ int get_ammo_brand( const item_def &item ); // armour functions: int armour_max_enchant( const item_def &item ); bool armour_is_hide( const item_def &item, bool inc_made = false ); -bool armour_not_shiny( const item_def &item ); equipment_type get_armour_slot( const item_def &item ); equipment_type get_armour_slot( armour_type arm ); |