From d57125aef79d02af28e575a9188f0adac67f17d3 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sun, 8 Nov 2009 17:25:40 +0300 Subject: Remove unused armour_not_shiny. --- crawl-ref/source/itemprop.cc | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'crawl-ref/source/itemprop.cc') 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 ); -- cgit v1.2.3-54-g00ecf