diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-06 16:30:47 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-06 16:30:47 +0000 |
commit | a00fc45d3999df4ed425aa838c7066e57d9a1cf8 (patch) | |
tree | ed67101b5d8a87ca1722fdc586b64ea9075f7509 /crawl-ref/source | |
parent | 2a50f2e864663a6e5415afb99df63df3e671e591 (diff) | |
download | crawl-ref-a00fc45d3999df4ed425aa838c7066e57d9a1cf8.tar.gz crawl-ref-a00fc45d3999df4ed425aa838c7066e57d9a1cf8.zip |
Fix one last weapon size check inconsistency.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8929 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-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 eb421383c3..96b4141435 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6334,7 +6334,7 @@ bool player::can_wield(const item_def& item, bool ignore_curse, bool player::could_wield(const item_def &item, bool ignore_brand, bool /* ignore_transform */) const { - if (!check_weapon_wieldable_size(item, body_size(PSIZE_BODY))) + if (!check_weapon_wieldable_size(item, body_size())) return (false); if (!ignore_brand) |