}
/* Did we hit it (penalize range) */
- if (test_hit_fire(chance - cur_dis, armour, m_ptr->ml))
+ if (test_hit_fire(chance - cur_dis, m_ptr, m_ptr->ml, o_name))
{
bool fear = FALSE;
int tdam = tdam_base;
hit_body = TRUE;
/* Did we hit it (penalize range) */
- if (test_hit_fire(chance - cur_dis, r_ptr->ac, m_ptr->ml))
+ if (test_hit_fire(chance - cur_dis, m_ptr, m_ptr->ml, o_name))
{
bool fear = FALSE;