Fix typo, sorry

--HG--
branch : trunk
This commit is contained in:
Kudlaty
2009-10-31 01:16:48 +01:00
parent e44c123184
commit a5937d9d13
-1
View File
@@ -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);
}