aboutsummaryrefslogtreecommitdiff
path: root/src/game/StatSystem.cpp
diff options
context:
space:
mode:
authorgvcoman <none@none>2008-11-21 14:34:05 -0500
committergvcoman <none@none>2008-11-21 14:34:05 -0500
commitae8a27bbb758dd2485d9bea14ccd8b892f626371 (patch)
tree213402aa6ce31963a4a329cbb261fd88db6a0bdd /src/game/StatSystem.cpp
parent837ce55de88e33825eb66814d07d33c1f869f7a7 (diff)
parent71707df1dec2aa77864d9a853c34108bb6021138 (diff)
Merged commit 269 (5f0e38da128a).
--HG-- branch : trunk
Diffstat (limited to 'src/game/StatSystem.cpp')
-rw-r--r--src/game/StatSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp
index 0e766136696..3533c5c8a02 100644
--- a/src/game/StatSystem.cpp
+++ b/src/game/StatSystem.cpp
@@ -384,7 +384,7 @@ void Player::CalculateMinMaxDamage(WeaponAttackType attType, bool normalized, fl
weapon_mindamage = lvl*0.85*att_speed;
weapon_maxdamage = lvl*1.25*att_speed;
}
- else if(!IsUseEquippedWeapon(attType==BASE_ATTACK)) //check if player not in form but still can't use weapon (broken/etc)
+ else if(!IsUseEquipedWeapon(attType==BASE_ATTACK)) //check if player not in form but still can't use weapon (broken/etc)
{
weapon_mindamage = BASE_MINDAMAGE;
weapon_maxdamage = BASE_MAXDAMAGE;