mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
This commit is contained in:
@@ -39,7 +39,8 @@ void Acore::CustomChatTextBuilder::operator()(WorldPacket& data, LocaleConstant
|
||||
|
||||
void Acore::AcoreStringChatBuilder::operator()(WorldPacket& data, LocaleConstant locale) const
|
||||
{
|
||||
char const* text = sObjectMgr->GetAcoreString(_textId, locale);
|
||||
std::string strtext = sObjectMgr->GetAcoreString(_textId, locale);
|
||||
char const* text = strtext.c_str();
|
||||
|
||||
if (_args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user