diff options
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 2bdae866aab..12d106ecd13 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -3324,6 +3324,14 @@ void Player::RemoveSpellCooldown( uint32 spell_id, bool update /* = false */ )      }  } +void Player::RemoveCategoryCooldown( uint32 cat ) +{ +    SpellCategoryStore::const_iterator i_scstore = sSpellCategoryStore.find(cat); +    if(i_scstore != sSpellCategoryStore.end()) +        for(SpellCategorySet::const_iterator i_scset = i_scstore->second.begin(); i_scset != i_scstore->second.end(); ++i_scset) +            RemoveSpellCooldown(*i_scset, true); +} +  void Player::RemoveArenaSpellCooldowns()  {      // remove cooldowns on spells that has < 15 min CD  | 
