summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc26
1 files changed, 0 insertions, 26 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 );