diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 17:25:40 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 17:25:40 +0300 |
commit | d57125aef79d02af28e575a9188f0adac67f17d3 (patch) | |
tree | b8b78c883c7684f67f95483f1614d9a87c08c214 /crawl-ref/source/itemprop.cc | |
parent | 56d5d35905c727a656c0ca8532da3c249ec371c3 (diff) | |
download | crawl-ref-d57125aef79d02af28e575a9188f0adac67f17d3.tar.gz crawl-ref-d57125aef79d02af28e575a9188f0adac67f17d3.zip |
Remove unused armour_not_shiny.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 25 |
1 files changed, 0 insertions, 25 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 ); |