From a00fc45d3999df4ed425aa838c7066e57d9a1cf8 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 6 Feb 2009 16:30:47 +0000 Subject: 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 --- crawl-ref/source/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source') 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) -- cgit v1.2.3-54-g00ecf