From 2cc4fef9d5184955847ff62af8944ad54ad1640b Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 17 Oct 2017 01:19:52 +0200 Subject: [PATCH] Fix warning --- src/server/game/Spells/Spell.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 98a093a4e5..8e2082fa33 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -1134,7 +1134,6 @@ void Spell::SelectImplicitConeTargets(SpellEffIndex effIndex, SpellImplicitTarge SpellTargetObjectTypes objectType = targetType.GetObjectType(); SpellTargetCheckTypes selectionType = targetType.GetCheckType(); ConditionContainer* condList = m_spellInfo->Effects[effIndex].ImplicitTargetConditions; - float coneAngle = float(M_PI) / 2.f; float radius = m_spellInfo->Effects[effIndex].CalcRadius(m_caster); // Workaround for some spells that don't have RadiusEntry set in dbc (but SpellRange instead)