Core/Spells: Use caster as chat source in Spell::EffectSendChatMessage

This commit is contained in:
Shauren
2021-08-08 18:15:00 +02:00
parent 58be6007fb
commit fcead0b4ea

View File

@@ -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);
}