summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 4c4cec2c2a..dcbc80dc61 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2273,11 +2273,11 @@ bool is_armour_brand_ok(int type, int brand)
return (slot == EQ_GLOVES);
case SPARM_INTELLIGENCE:
- if (type == ARM_HELMET)
- return (false);
- case SPARM_SEE_INVISIBLE:
return (slot == EQ_HELMET);
+ case SPARM_SEE_INVISIBLE:
+ return (type == ARM_HELMET);
+
case SPARM_FIRE_RESISTANCE:
case SPARM_COLD_RESISTANCE:
if (slot == EQ_BOOTS && type != ARM_BOOTS) // both bardings