aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.h
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-04-22 21:28:04 +0200
committerTrazom62 <none@none>2010-04-22 21:28:04 +0200
commitb142ae155e88677a82669df383f3d54e651b1898 (patch)
treebe3a0d18756af07a6cf633834a9c311c072f6ed7 /src/game/Player.h
parent7eac04b5ad290851bbfeecbfee34310348c8c181 (diff)
Fixes GCD when 1 sec or shorter.
Support aura reducing GCD (SPELLMOD_GLOBAL_COOLDOWN) (e.g. Backdraft, Unholy presence). Fixes issue #1666. Fixes issue #1616. --HG-- branch : trunk
Diffstat (limited to 'src/game/Player.h')
-rw-r--r--src/game/Player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.h b/src/game/Player.h
index b6175b6bd8d..07334486852 100644
--- a/src/game/Player.h
+++ b/src/game/Player.h
@@ -1637,7 +1637,7 @@ class Player : public Unit, public GridObject<Player>
void UpdatePotionCooldown(Spell* spell = NULL);
// global cooldown
- void AddGlobalCooldown(SpellEntry const *spellInfo, Spell const *spell);
+ void AddGlobalCooldown(SpellEntry const *spellInfo, Spell *spell);
bool HasGlobalCooldown(SpellEntry const *spellInfo) const;
void RemoveGlobalCooldown(SpellEntry const *spellInfo);