summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/itemprop.cc19
-rw-r--r--crawl-ref/source/itemprop.h3
2 files changed, 0 insertions, 22 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index c220166ba9..2e93a44b18 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1693,25 +1693,6 @@ hands_reqd_type hands_reqd( const item_def &item, size_type size )
return (static_cast< hands_reqd_type >( ret ));
}
-bool is_double_ended( const item_def &item )
-{
- if (item.base_type == OBJ_STAVES)
- return (true);
- else if (item.base_type != OBJ_WEAPONS)
- return (false);
-
- return (Weapon_prop[ Weapon_index[item.sub_type] ].hands == HANDS_DOUBLE);
-}
-
-int double_wpn_awkward_speed( const item_def &item )
-{
- ASSERT( is_double_ended( item ) );
-
- const int base = property( item, PWPN_SPEED );
-
- return ((base * 30 + 10) / 20 + 2);
-}
-
bool is_demonic(const item_def &item)
{
if (item.base_type == OBJ_WEAPONS)
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index 1c4543f856..b63ee75ae0 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -682,9 +682,6 @@ int get_inv_in_hand( void );
hands_reqd_type hands_reqd( const item_def &item, size_type size );
hands_reqd_type hands_reqd(object_class_type base_type, int sub_type,
size_type size);
-bool is_double_ended( const item_def &item );
-
-int double_wpn_awkward_speed( const item_def &item );
bool is_demonic(const item_def &item);
bool is_blessed_blade(const item_def &item);