From 02e174d7e936a6c23a2f0d49bc95295231121d6b Mon Sep 17 00:00:00 2001 From: roc13x Date: Fri, 5 May 2017 00:10:25 +0100 Subject: [PATCH] Cleanup --- src/server/game/Spells/Spell.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index edb56dd60b..f359c5ad75 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -3380,9 +3380,6 @@ void Spell::_cast(bool skipCheck) SetExecutedCurrently(false); - //if (Creature* creatureCaster = m_caster->ToCreature()) //TODO investigate - // creatureCaster->ReleaseFocus(this); - if (!m_originalCaster) return; @@ -7741,9 +7738,6 @@ void Spell::TriggerGlobalCooldown() // Apply haste rating if (gcd > MIN_GCD && ((m_spellInfo->StartRecoveryCategory == 133 && !isMeleeOrRangedSpell))) gcd = std::min(std::max(int32(float(gcd) * m_caster->GetFloatValue(UNIT_MOD_CAST_HASTE)), MIN_GCD), MAX_GCD); - - //gcd = int32(float(gcd) * m_caster->GetFloatValue(UNIT_MOD_CAST_SPEED)); //TODO investigate - //RoundToInterval(gcd, MIN_GCD, MAX_GCD); } m_caster->GetSpellHistory()->AddGlobalCooldown(m_spellInfo, gcd);