Fix typo, sorry
--HG-- branch : trunk
This commit is contained in:
@@ -20356,7 +20356,6 @@ uint32 Player::GetBaseWeaponSkillValue (WeaponAttackType attType) const
|
||||
return 0;
|
||||
|
||||
// weapon skill or (unarmed for base attack and for fist weapons)
|
||||
uint32 skill = item ? item->GetSkill() : uint32(SKILL_UNARMED);
|
||||
uint32 skill = (item && item->GetSkill() != SKILL_FIST_WEAPONS) ? item->GetSkill() : uint32(SKILL_UNARMED);
|
||||
return GetBaseSkillValue(skill);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user