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

Port From (https://github.com/TrinityCore/TrinityCore/commit/fcead0b4eae298c1a46c42fea56a3b3b9ae2bf8f)
This commit is contained in:
hondacrx
2021-08-08 14:57:54 -04:00
parent 18d873e1ee
commit 7ffe2ee299
+1 -1
View File
@@ -5701,7 +5701,7 @@ namespace Game.Spells
return;
ChatMsg chatType = (ChatMsg)effectInfo.MiscValueB;
unitTarget.Talk(broadcastTextId, chatType, Global.CreatureTextMgr.GetRangeForChatType(chatType), unitTarget);
m_caster.Talk(broadcastTextId, chatType, Global.CreatureTextMgr.GetRangeForChatType(chatType), unitTarget);
}
}