diff options
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 15 | 
1 files changed, 6 insertions, 9 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 3e533ebbd25..8c751656795 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3858,7 +3858,7 @@ void Spell::SendChannelUpdate(uint32 time)      data.append(m_caster->GetPackGUID());      data << uint32(time); -    ((Player*)m_caster)->GetSession()->SendPacket( &data ); +    m_caster->SendMessageToSet(&data, true);  }  void Spell::SendChannelStart(uint32 duration) @@ -3889,15 +3889,12 @@ void Spell::SendChannelStart(uint32 duration)          }      } -    if (m_caster->GetTypeId() == TYPEID_PLAYER) -    { -        WorldPacket data( MSG_CHANNEL_START, (8+4+4) ); -        data.append(m_caster->GetPackGUID()); -        data << uint32(m_spellInfo->Id); -        data << uint32(duration); +    WorldPacket data( MSG_CHANNEL_START, (8+4+4) ); +    data.append(m_caster->GetPackGUID()); +    data << uint32(m_spellInfo->Id); +    data << uint32(duration); -        ((Player*)m_caster)->GetSession()->SendPacket( &data ); -    } +    m_caster->SendMessageToSet(&data, true);      m_timer = duration;      if(target)  | 
