aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/Spell.cpp
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2011-07-04 14:46:48 +0100
committerNay <dnpd.dd@gmail.com>2011-07-04 14:46:48 +0100
commitd6782fa826508920f8de22709a32e83611bfdffe (patch)
tree21cdf6632f528ad247ef9fd01069d4adeb3c835f /src/server/game/Spells/Spell.cpp
parent40b17fd862f46193930ea647c926abe14a21db38 (diff)
Core/Misc: Refactor SendPlaySpellVisual and SendPlaySpellImpact and move them to Unit (from Spell)
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rwxr-xr-xsrc/server/game/Spells/Spell.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index 70393e0cf9b..5394bef5209 100755
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -4213,17 +4213,6 @@ void Spell::SendResurrectRequest(Player* target)
target->GetSession()->SendPacket(&data);
}
-void Spell::SendPlaySpellVisual(uint32 SpellID)
-{
- if (m_caster->GetTypeId() != TYPEID_PLAYER)
- return;
-
- WorldPacket data(SMSG_PLAY_SPELL_VISUAL, 8 + 4);
- data << uint64(m_caster->GetGUID());
- data << uint32(SpellID); // spell visual id?
- m_caster->ToPlayer()->GetSession()->SendPacket(&data);
-}
-
void Spell::TakeCastItem()
{
if (!m_CastItem || m_caster->GetTypeId() != TYPEID_PLAYER)