diff options
| author | Shauren <shauren.trinity@gmail.com> | 2021-10-09 13:30:47 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-10-09 13:30:47 +0200 |
| commit | 3fe9b0a2961b60509d11dd38a90e7b7657b68084 (patch) | |
| tree | 3a6e47aa340cca83f3bc2476cc1cdc896290c087 /src/server/game/AI/SmartScripts | |
| parent | 3322f3481945883abd7252d5c38ef70d6af9014d (diff) | |
Core/Conversations: Replace _participants with generic personal object implementation
Diffstat (limited to 'src/server/game/AI/SmartScripts')
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 2d191d2082b..4574e4abb49 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -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()); |
