From 292205dc2dba78919cf2fdf2571f141ffd28cf7c Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 25 Feb 2009 22:39:31 +0000 Subject: Add still more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9222 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/transfor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3-54-g00ecf