diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-25 22:39:31 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-25 22:39:31 +0000 |
commit | 292205dc2dba78919cf2fdf2571f141ffd28cf7c (patch) | |
tree | be5d1082e18e9654f5f1e8df51ec2cc3de79b43d /crawl-ref/source/transfor.cc | |
parent | b08370cd1704f42fb1387277c2fc1add2cc12ebc (diff) | |
download | crawl-ref-292205dc2dba78919cf2fdf2571f141ffd28cf7c.tar.gz crawl-ref-292205dc2dba78919cf2fdf2571f141ffd28cf7c.zip |
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
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r-- | crawl-ref/source/transfor.cc | 3 |
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. |