Add missing fix for update arena use spell time cooldown. In 3.3.x 10min.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2010-02-15 15:13:15 +01:00
parent b9aacc38eb
commit 535068d740

View File

@@ -3676,10 +3676,10 @@ void Player::RemoveArenaSpellCooldowns()
next = itr;
++next;
SpellEntry const * entry = sSpellStore.LookupEntry(itr->first);
// check if spellentry is present and if the cooldown is less than 15 mins
// check if spellentry is present and if the cooldown is less than 10 mins
if( entry &&
entry->RecoveryTime <= 15 * MINUTE * IN_MILISECONDS &&
entry->CategoryRecoveryTime <= 15 * MINUTE * IN_MILISECONDS )
entry->RecoveryTime <= 10 * MINUTE * IN_MILISECONDS &&
entry->CategoryRecoveryTime <= 10 * MINUTE * IN_MILISECONDS )
{
// remove & notify
RemoveSpellCooldown(itr->first, true);