aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-10-31 01:16:48 +0100
committerKudlaty <none@none>2009-10-31 01:16:48 +0100
commita5937d9d13f5071c1b54dc1c3fa9530a2494e778 (patch)
tree5a5c8c127f8270eda40aa15e6342bff9c5ce2500 /src
parente44c123184700bacb5b9074fa0809541424d367a (diff)
Fix typo, sorry
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 14e5aa03f86..858d4591e5f 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -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);
}