diff options
author | QAston <none@none> | 2009-07-12 02:34:24 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-12 02:34:24 +0200 |
commit | bda2a721fa777bd1e1ab146036fb6144b09efadc (patch) | |
tree | 7636bac3f43af0b1d399e8f25eed3a9e820aa3fd /src/game/SpellEffects.cpp | |
parent | 87213301e7f363abe4ae17c0988fd7262a5feb19 (diff) |
*Remove incorrect object deletion from EffectSummonObject call and use RemoveGameObject() instead.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 8dc2e696da1..5e2dd395101 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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; } |