aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-09-16 12:32:09 +0200
committerShauren <shauren.trinity@gmail.com>2011-09-16 12:32:09 +0200
commitf356f65fa6f9eafbc76fee4620a21cb320035ba8 (patch)
treeda46aceff40350e14be7fcc0cb94b71b4e7a46cb /src
parent113080dacea95a7c1a18e00d2c942c32eef6ec00 (diff)
Core/Spell: Remove obsolete check, its already handled in a better way using SpellScript
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Spell.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index b0cd74391f3..a8f6edda993 100755
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -4927,11 +4927,6 @@ SpellCastResult Spell::CheckCast(bool strict)
if (m_targets.GetUnitTarget() && !m_caster->IsFriendlyTo(m_targets.GetUnitTarget()) && !m_caster->HasInArc(static_cast<float>(M_PI), m_targets.GetUnitTarget()))
return SPELL_FAILED_UNIT_NOT_INFRONT;
}
- else if (m_spellInfo->SpellIconID == 33 && m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG_SHAMAN_FIRE_NOVA)
- {
- if (!m_caster->m_SummonSlot[1])
- return SPELL_FAILED_SUCCESS;
- }
else if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && m_spellInfo->SpellFamilyFlags[0] == 0x2000) // Death Coil (DeathKnight)
{
Unit* target = m_targets.GetUnitTarget();