summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index e94909fe9b..4e0e941b9d 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -989,8 +989,9 @@ bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary)
{
if (sub_type >= ARM_LEATHER_ARMOUR
&& sub_type <= ARM_PLATE_MAIL
- || sub_type >= ARM_GLOVES
- && sub_type <= ARM_BUCKLER
+ || sub_type == ARM_GLOVES
+ || sub_type == ARM_BOOTS
+ || sub_type == ARM_BUCKLER
|| sub_type == ARM_CRYSTAL_PLATE_MAIL
|| is_hard_helmet(item))
{