summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 50ef978332..28455a09f1 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -4999,7 +4999,7 @@ bool monsters::pickup_armour(item_def &item, int near, bool force)
equipment_type eq = EQ_NONE;
- // Hack to allow nagas/centaurs to wear bardings. (jpeg)
+ // HACK to allow nagas/centaurs to wear bardings. (jpeg)
switch (item.sub_type)
{
case ARM_NAGA_BARDING:
@@ -5013,11 +5013,15 @@ bool monsters::pickup_armour(item_def &item, int near, bool force)
eq = EQ_BODY_ARMOUR;
}
break;
+ // And another hack or two...
case ARM_WIZARD_HAT:
- // HACK.
if (this->type == MONS_GASTRONOK)
eq = EQ_BODY_ARMOUR;
break;
+ case ARM_CLOAK:
+ if (this->type == MONS_MAURICE)
+ eq = EQ_BODY_ARMOUR;
+ break;
default:
eq = get_armour_slot(item);
}