summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/itemprop.cc5
-rw-r--r--crawl-ref/source/makeitem.cc5
2 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 9d22deea8f..07ae4fc5ca 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -597,6 +597,11 @@ bool item_is_mundane(const item_def &item)
}
break;
+ case OBJ_ARMOUR:
+ if (item.sub_type == ARM_ANIMAL_SKIN)
+ return (true);
+ break;
+
default:
break;
}
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 4c1dc649e4..73c3450503 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2219,11 +2219,10 @@ static void _generate_armour_item(item_def& item, bool allow_uniques,
if (force_good)
hide2armour(item);
- // Skin armours and crystal plate mail normally don't get egos, but
+ // Hide armours and crystal plate mail normally don't get egos, but
// can be randarts.
if (armour_is_hide(item, true)
- || item.sub_type == ARM_CRYSTAL_PLATE_MAIL
- || item.sub_type == ARM_ANIMAL_SKIN)
+ || item.sub_type == ARM_CRYSTAL_PLATE_MAIL)
{
if (!forced_ego)
set_item_ego_type(item, OBJ_ARMOUR, SPARM_NORMAL);