diff options
author | Keader <keader.android@gmail.com> | 2017-07-08 13:13:01 -0300 |
---|---|---|
committer | Keader <keader.android@gmail.com> | 2017-07-08 13:13:01 -0300 |
commit | 3aadb72eaad2d0316365a39b5c448718052d6e36 (patch) | |
tree | 50da8428888d405a5ea75fd1ba88237923c1e35f /src | |
parent | e254ebebbead52d930e0ebdc425d9a0275b56667 (diff) |
Build fix
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/World/duel_reset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/duel_reset.cpp b/src/server/scripts/World/duel_reset.cpp index bc6949105cb..32c391a5ef6 100644 --- a/src/server/scripts/World/duel_reset.cpp +++ b/src/server/scripts/World/duel_reset.cpp @@ -110,13 +110,13 @@ class DuelResetScript : public PlayerScript int32 totalCooldown = spellInfo->RecoveryTime; int32 categoryCooldown = spellInfo->CategoryRecoveryTime; - player->ApplySpellMod<SPELLMOD_COOLDOWN>(spellInfo->Id, totalCooldown, nullptr); + player->ApplySpellMod(spellInfo->Id, SPELLMOD_COOLDOWN, totalCooldown, nullptr); if (int32 cooldownMod = player->GetTotalAuraModifier(SPELL_AURA_MOD_COOLDOWN)) totalCooldown += cooldownMod * IN_MILLISECONDS; if (!spellInfo->HasAttribute(SPELL_ATTR6_IGNORE_CATEGORY_COOLDOWN_MODS)) - player->ApplySpellMod<SPELLMOD_COOLDOWN>(spellInfo->Id, categoryCooldown, nullptr); + player->ApplySpellMod(spellInfo->Id, SPELLMOD_COOLDOWN, categoryCooldown, nullptr); return remainingCooldown > 0 && !itr->second.OnHold |