Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field

This commit is contained in:
Matan Shukry authored and Ovahlord committed 2021-03-29 20:45:13 +02:00
1 parent a40e18367a
commit 434bc017c2
8 files changed
+26 -43

No files matched your search

+1 -1
View File
@@ -5565,7 +5565,7 @@ void Spell::EffectSummonPersonalGameObject(SpellEffIndex effIndex)
go->SetRespawnTime(duration > 0 ? duration / IN_MILLISECONDS : 0);
go->SetSpellId(m_spellInfo->Id);
go->SetVisibleByUnitOnly(m_caster->GetGUID());
go->SetPrivateObjectOwner(m_caster->GetGUID());
ExecuteLogEffectSummonObject(effIndex, go);