summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index a1d8bbc914..f544fbd617 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -4014,7 +4014,7 @@ int melee_attack::player_calc_base_weapon_damage()
// effective.
if (shield && weapon->base_type == OBJ_WEAPONS
&& weapon_skill(*weapon) == SK_STAVES
- && hands_reqd(*weapon, player_size()) == HANDS_HALF)
+ && hands_reqd(*weapon, you.body_size()) == HANDS_HALF)
{
damage /= 2;
}
@@ -5479,7 +5479,7 @@ int weapon_str_weight( object_class_type wpn_class, int wpn_type )
int ret;
const int wpn_skill = weapon_skill( wpn_class, wpn_type );
- const int hands = hands_reqd( wpn_class, wpn_type, player_size() );
+ const int hands = hands_reqd( wpn_class, wpn_type, you.body_size() );
// These are low values, because we'll be adding some bonus to the
// larger weapons later. Remember also that 1-1/2-hand weapons get
@@ -5550,7 +5550,7 @@ static inline int player_weapon_str_weight()
int ret = weapon_str_weight(weapon->base_type, weapon->sub_type);
- if (hands_reqd(*weapon, player_size()) == HANDS_HALF && !you.shield())
+ if (hands_reqd(*weapon, you.body_size()) == HANDS_HALF && !you.shield())
ret += 1;
return (ret);