refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
This commit is contained in:
parent
137337601d
commit
9e9a2fe5e3
25 changed files with 71 additions and 95 deletions
|
|
@ -2696,7 +2696,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
|||
}
|
||||
case SMART_ACTION_PLAYER_TALK:
|
||||
{
|
||||
char const* text = sObjectMgr->GetAcoreString(e.action.playerTalk.textId, DEFAULT_LOCALE);
|
||||
std::string text = sObjectMgr->GetAcoreString(e.action.playerTalk.textId, DEFAULT_LOCALE);
|
||||
|
||||
if (!targets.empty())
|
||||
for (WorldObject* target : targets)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue