diff options
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 81437d49c1..593fcf8e37 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -934,6 +934,11 @@ equipment_type get_armour_slot( const item_def &item ) return (Armour_prop[ Armour_index[item.sub_type] ].slot); } +equipment_type get_armour_slot( armour_type arm ) +{ + return (Armour_prop[ Armour_index[arm] ].slot); +} + bool jewellery_is_amulet( const item_def &item ) { ASSERT( item.base_type == OBJ_JEWELLERY ); |