diff options
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index f14002a9f4..7a89f1f20c 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -854,6 +854,14 @@ bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary) if (!is_hard_helmet( item )) return (true); + if (you.mutation[MUT_HORNS]) + { + if (verbose) + mpr("You can't wear that with your horns!"); + + return (false); + } + if (you.species == SP_KENKU && (ignore_temporary || !player_is_shapechanged())) { |