summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/itemprop.cc16
-rw-r--r--crawl-ref/source/itemprop.h2
2 files changed, 0 insertions, 18 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 441e480b33..2f08233560 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1879,22 +1879,6 @@ int weapon_dex_weight( const item_def &wpn )
return (10 - weapon_str_weight( wpn ));
}
-int weapon_impact_mass( const item_def &wpn )
-{
- ASSERT (wpn.base_type == OBJ_WEAPONS || wpn.base_type == OBJ_STAVES);
-
- return ((weapon_str_weight( wpn ) * item_mass( wpn ) + 5) / 10);
-}
-
-int weapon_str_required( const item_def &wpn, bool hand_half )
-{
- ASSERT (wpn.base_type == OBJ_WEAPONS || wpn.base_type == OBJ_STAVES);
-
- const int req = weapon_impact_mass( wpn ) / ((hand_half) ? 11 : 10);
-
- return ((req < STR_REQ_THRESHOLD) ? 0 : req);
-}
-
// Returns melee skill of item.
skill_type weapon_skill( const item_def &item )
{
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index cbc51d6fb9..3508c87c35 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -689,8 +689,6 @@ int single_damage_type(const item_def &item);
int weapon_str_weight( const item_def &wpn );
int weapon_dex_weight( const item_def &wpn );
-int weapon_impact_mass( const item_def &wpn );
-int weapon_str_required( const item_def &wpn, bool half );
skill_type weapon_skill( const item_def &item );
skill_type weapon_skill( object_class_type wclass, int wtype );