aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/game/Spells/SpellEffects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index ceb5ed1383a..83b83af5861 100644
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -5762,10 +5762,10 @@ void Spell::EffectCreatePrivateConversation()
return;
Unit* unitCaster = GetUnitCasterForEffectHandlers();
- if (!unitCaster || !unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
+ if (!unitCaster || unitCaster->GetTypeId() != TYPEID_PLAYER)
return;
- Conversation::CreateConversation(effectInfo->MiscValue, unitCaster, unitTarget->GetPosition(), unitTarget->GetGUID(), GetSpellInfo());
+ Conversation::CreateConversation(effectInfo->MiscValue, unitCaster, destTarget->GetPosition(), unitCaster->GetGUID(), GetSpellInfo());
}
void Spell::EffectSendChatMessage()