diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 25 | ||||
-rw-r--r-- | crawl-ref/source/itemprop.h | 2 |
2 files changed, 0 insertions, 27 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 diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h index 413ee459df..cbc51d6fb9 100644 --- a/crawl-ref/source/itemprop.h +++ b/crawl-ref/source/itemprop.h @@ -739,8 +739,6 @@ size_type item_size(const item_def &item); equipment_type get_item_slot(object_class_type type, int sub_type); equipment_type get_item_slot(const item_def& item); -bool is_colourful_item(const item_def &item); - std::string item_base_name(const item_def &item); const char* weapon_base_name(unsigned char subtype); |