diff options
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 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 |