summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transfor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r--crawl-ref/source/transfor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc
index 9f41e78640..54c8ae80c3 100644
--- a/crawl-ref/source/transfor.cc
+++ b/crawl-ref/source/transfor.cc
@@ -63,7 +63,8 @@ bool transform_allows_wearing_item(const item_def& item,
{
// It's not jewellery, and it's worn, so it must be armour.
const equipment_type eqslot = get_armour_slot(item);
- const bool is_soft_helmet = (is_helmet(item) && !is_hard_helmet(item));
+ const bool is_soft_helmet = is_helmet(item) && !is_hard_helmet(item);
+
switch (transform)
{
// Some forms can wear everything.