summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-07 21:52:49 +0300
committerAdam Borowski <kilobyte@angband.pl>2009-11-07 20:00:44 +0100
commit3c9fa6372b74dbc85e9346775fed33c9c05bca0c (patch)
tree8f8e4f5d1ce18bd16af35d5b7dbf63e44b330fb3 /crawl-ref/source/itemprop.cc
parent5e294c8cc236c58e72dff69c51b24d6b59533359 (diff)
downloadcrawl-ref-3c9fa6372b74dbc85e9346775fed33c9c05bca0c.tar.gz
crawl-ref-3c9fa6372b74dbc85e9346775fed33c9c05bca0c.zip
Remove unused is_colourful_item.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index b56c76ef14..441e480b33 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2707,31 +2707,6 @@ equipment_type get_item_slot(object_class_type type, int sub_type)
return (EQ_NONE);
}
-// Returns true if we might be interested in dumping the colour.
-bool is_colourful_item(const item_def &item)
-{
- bool ret = false;
-
- switch (item.base_type)
- {
- case OBJ_ARMOUR:
- if (item.sub_type == ARM_ROBE
- || item.sub_type == ARM_CLOAK
- || item.sub_type == ARM_CAP
- || item.sub_type == ARM_NAGA_BARDING
- || item.sub_type == ARM_CENTAUR_BARDING)
- {
- ret = true;
- }
- break;
-
- default:
- break;
- }
-
- return (ret);
-}
-
bool is_shield(const item_def &item)
{
return (item.base_type == OBJ_ARMOUR