diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-15 17:35:26 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-15 17:35:26 +0000 |
commit | 7426d8145861b8ec8bb2b95ca0f541cc94ac343b (patch) | |
tree | d3087761c3a6d8181abda00746b397cea1ab7e7e /crawl-ref | |
parent | 94c124d229562df690dc6ca4af68f05cb32d23c0 (diff) | |
download | crawl-ref-7426d8145861b8ec8bb2b95ca0f541cc94ac343b.tar.gz crawl-ref-7426d8145861b8ec8bb2b95ca0f541cc94ac343b.zip |
Fix [2687629]: When checking whether body armour is unwearable, check
against torso size, not body size, since these are different for nagas,
and they should be able to wear body armour.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9505 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b6fff40d84..61f6542749 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -665,7 +665,7 @@ bool you_tran_can_wear(const item_def &item) return (true); } - if (fit_armour_size(item, player_size(PSIZE_BODY, false)) != 0) + if (fit_armour_size(item, player_size()) != 0) return (false); return you_tran_can_wear(get_armour_slot(item), true); |