aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-08-28 00:58:08 +0200
committerQAston <none@none>2009-08-28 00:58:08 +0200
commit562f661ac3bc64fecf4a847b506651a5d7306e0b (patch)
treee4f4d4dfc1cd62b0dfe4c5b7b458bdbb6b687d83 /src
parent5be01b1d14362bfa61ad912e5eeac895623edd9a (diff)
*Backout *[8394] Propertly reject self targeting for pet spell 2947 and ranks, and spell 54646.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 80636557f79..b766f3d75af 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4488,17 +4488,6 @@ SpellCastResult Spell::CheckCast(bool strict)
return SPELL_FAILED_BAD_TARGETS;
}
}
-
- // Some special spells with non-caster only mode
-
- // Fire Shield
- if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARLOCK &&
- m_spellInfo->SpellIconID == 16)
- return SPELL_FAILED_BAD_TARGETS;
-
- // Focus Magic (main spell)
- if (m_spellInfo->Id == 54646)
- return SPELL_FAILED_BAD_TARGETS;
}
// check pet presents