summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-19 01:07:39 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-19 01:07:39 +0000
commite8392b1b316e361c54e5ae4f0da28ada8019fd16 (patch)
tree1e81e907b969649734f95d8e74f0cb2d79a0f034 /crawl-ref/source/item_use.cc
parent57971c576d6dae9167169d4ca4011c52821be03b (diff)
downloadcrawl-ref-e8392b1b316e361c54e5ae4f0da28ada8019fd16.tar.gz
crawl-ref-e8392b1b316e361c54e5ae4f0da28ada8019fd16.zip
Add more size-related cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7490 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
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)