*Remove incorrect object deletion from EffectSummonObject call and use RemoveGameObject() instead.
--HG-- branch : trunk
This commit is contained in:
1 parent
87213301e7
commit
bda2a721fa
3 files changed
+6
-10
No files matched your search
@@ -5874,7 +5874,7 @@ void Spell::EffectSummonObject(uint32 i)
|
||||
// Recast case - null spell id to make auras not be removed on object remove from world
|
||||
if (m_spellInfo->Id == obj->GetSpellId())
|
||||
obj->SetSpellId(0);
|
||||
obj->Delete();
|
||||
m_caster->RemoveGameObject(obj, true);
|
||||
}
|
||||
m_caster->m_ObjectSlot[slot] = 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user