summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/itemprop.cc26
-rw-r--r--crawl-ref/source/itemprop.h1
2 files changed, 0 insertions, 27 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 7a7647cec5..67239a4295 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1079,32 +1079,6 @@ bool armour_not_shiny( const item_def &item )
return (false);
}
-int armour_str_required( const item_def &arm )
-{
- ASSERT( arm.base_type == OBJ_ARMOUR );
-
- int ret = 0;
-
- const equipment_type slot = get_armour_slot( arm );
- const int mass = item_mass( arm );
-
- switch (slot)
- {
- case EQ_BODY_ARMOUR:
- ret = mass / 35;
- break;
-
- case EQ_SHIELD:
- ret = mass / 15;
- break;
-
- default:
- break;
- }
-
- return ((ret < STR_REQ_THRESHOLD) ? 0 : ret);
-}
-
equipment_type get_armour_slot( const item_def &item )
{
ASSERT( item.base_type == OBJ_ARMOUR );
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index d4d1b5368d..fce3044e82 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -628,7 +628,6 @@ int get_ammo_brand( const item_def &item );
int armour_max_enchant( const item_def &item );
bool armour_is_hide( const item_def &item, bool inc_made = false );
bool armour_not_shiny( const item_def &item );
-int armour_str_required( const item_def &arm );
equipment_type get_armour_slot( const item_def &item );
equipment_type get_armour_slot( armour_type arm );