mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Spells: Use caster as chat source in Spell::EffectSendChatMessage
This commit is contained in:
@@ -5865,5 +5865,5 @@ void Spell::EffectSendChatMessage(SpellEffIndex /*effIndex*/)
|
||||
return;
|
||||
|
||||
ChatMsg chatType = ChatMsg(effectInfo->MiscValueB);
|
||||
unitTarget->Talk(broadcastTextId, chatType, CreatureTextMgr::GetRangeForChatType(chatType), unitTarget);
|
||||
m_caster->Talk(broadcastTextId, chatType, CreatureTextMgr::GetRangeForChatType(chatType), unitTarget);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user