*Fix demonic circle - original patch by Astellar
--HG-- branch : trunk
This commit is contained in:
1 parent
745a86cdf1
commit
efbf911026
4 files changed
+79
-2
No files matched your search
@@ -5669,7 +5669,13 @@ void Spell::EffectSummonObject(uint32 i)
|
||||
if( m_caster )
|
||||
obj = m_caster->GetMap()->GetGameObject(guid);
|
||||
|
||||
if(obj) obj->Delete();
|
||||
if(obj)
|
||||
{
|
||||
// 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->m_ObjectSlot[slot] = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user