mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-17 05:29:43 -04:00
Core/Conversations: Replace _participants with generic personal object implementation
This commit is contained in:
@@ -2433,7 +2433,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
if (Player* playerTarget = target->ToPlayer())
|
||||
{
|
||||
Conversation* conversation = Conversation::CreateConversation(e.action.conversation.id, playerTarget,
|
||||
*playerTarget, { playerTarget->GetGUID() }, nullptr);
|
||||
*playerTarget, playerTarget->GetGUID(), nullptr);
|
||||
if (!conversation)
|
||||
TC_LOG_WARN("scripts.ai", "SmartScript::ProcessAction:: SMART_ACTION_CREATE_CONVERSATION: id %u, baseObject %s, target %s - failed to create conversation",
|
||||
e.action.conversation.id, !baseObject ? "" : baseObject->GetName().c_str(), playerTarget->GetName().c_str());
|
||||
|
||||
Reference in New Issue
Block a user