summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 13:49:33 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 13:49:33 +0300
commite2f498423c5c00d81274c2d952a7c767f246dea9 (patch)
tree9006d5ffe86c7e7e6dd791cbc727b0944fb20937 /crawl-ref/source/itemprop.cc
parent749d086b94b97465dbd6589d3f6536a49688b44c (diff)
downloadcrawl-ref-e2f498423c5c00d81274c2d952a7c767f246dea9.tar.gz
crawl-ref-e2f498423c5c00d81274c2d952a7c767f246dea9.zip
Remove unused check_jewellery_size.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 0678649544..2e967d060b 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1129,17 +1129,6 @@ bool jewellery_is_amulet( int sub_type )
return (sub_type >= AMU_RAGE);
}
-bool check_jewellery_size( const item_def &item, size_type size )
-{
- ASSERT( item.base_type == OBJ_JEWELLERY );
-
- // Currently assuming amulets are always wearable (only needs
- // to be held over head or heart... giants can strap it on with
- // a bit of binder twine). However, rings need to actually fit
- // around the ring finger to work, and so the big cannot use them.
- return (size <= SIZE_LARGE || jewellery_is_amulet( item ));
-}
-
// Returns the basic light status of an armour, ignoring things like the
// elven bonus... you probably want is_light_armour() most times.
bool base_armour_is_light( const item_def &item )