diff options
-rw-r--r-- | crawl-ref/source/itemprop.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 25ac97b10e..58b01629f0 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -698,10 +698,10 @@ void set_equip_race( item_def &item, unsigned long flags ) case OBJ_ARMOUR: // not hides, dragon armour, crystal plate, or barding - if (item.sub_type >= ARM_DRAGON_HIDE - && item.sub_type <= ARM_SWAMP_DRAGON_ARMOUR - && item.sub_type != ARM_CENTAUR_BARDING - && item.sub_type != ARM_NAGA_BARDING) + if ((item.sub_type >= ARM_DRAGON_HIDE + && item.sub_type <= ARM_SWAMP_DRAGON_ARMOUR) + || item.sub_type == ARM_CENTAUR_BARDING + || item.sub_type == ARM_NAGA_BARDING) { return; } |