mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Fixed some of the Coverity defects
This commit is contained in:
@@ -60,7 +60,7 @@ class PlayerTextBuilder
|
||||
{
|
||||
std::string const& text = sCreatureTextMgr->GetLocalizedChatString(_source->GetEntry(), _gender, _textGroup, _textId, locale);
|
||||
WorldPackets::Chat::Chat packet;
|
||||
return ChatHandler::BuildChatPacket(&packet, _msgType, Language(_language), _talker, _target, text, 0, "", locale);
|
||||
ChatHandler::BuildChatPacket(&packet, _msgType, Language(_language), _talker, _target, text, 0, "", locale);
|
||||
data = *packet.Write();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user