aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-11 07:24:25 +0200
committerSpp <none@none>2010-04-11 07:24:25 +0200
commited72b887a054e4565af23cfeaaa4e7e1ac0cd832 (patch)
treec82b113c057866ec593f7b1601cab9cdb62ab5b2 /src/game/Player.cpp
parente9336be8fc4040373ca8d433ff2c2a6c5598f5d6 (diff)
Tab to spaces
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 762af7b0a48..1a8be965f8f 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -22056,7 +22056,7 @@ void Player::AddGlobalCooldown(SpellEntry const *spellInfo, Spell const *spell)
if (!(spellInfo->Attributes & (SPELL_ATTR_UNK4|SPELL_ATTR_PASSIVE)))
cdTime *= GetFloatValue(UNIT_MOD_CAST_SPEED);
- else if (IsRangedWeaponSpell(spellInfo) && !spell->IsAutoRepeat())
+ else if (IsRangedWeaponSpell(spellInfo) && !spell->IsAutoRepeat())
cdTime *= m_modAttackSpeedPct[RANGED_ATTACK];
m_globalCooldowns[spellInfo->StartRecoveryCategory] = ((cdTime < 1000 || cdTime > 2000) ? 1000 : cdTime);