diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 13:49:33 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 13:49:33 +0300 |
commit | e2f498423c5c00d81274c2d952a7c767f246dea9 (patch) | |
tree | 9006d5ffe86c7e7e6dd791cbc727b0944fb20937 /crawl-ref/source/itemprop.cc | |
parent | 749d086b94b97465dbd6589d3f6536a49688b44c (diff) | |
download | crawl-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.cc | 11 |
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 ) |