From e8392b1b316e361c54e5ae4f0da28ada8019fd16 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 19 Nov 2008 01:07:39 +0000 Subject: Add more size-related cleanups. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7490 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 4b472bb6a5..e9d7b6e154 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -1010,7 +1010,7 @@ bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary) } // Tiny races - if (you.species == SP_SPRIGGAN) + if (player_size(PSIZE_TORSO) <= SIZE_LITTLE) { if ((sub_type >= ARM_LEATHER_ARMOUR && sub_type <= ARM_PLATE_MAIL) -- cgit v1.2.3-54-g00ecf