From 4dc5242a6939fd172ea7bfb293125de51f654e5b Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 11 Jul 2009 13:03:06 +0200 Subject: *Fix Desecration. *Correct a typo which made some of charged auras to be not dropped. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 44a30705784..3294c32bde8 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3470,7 +3470,10 @@ void Spell::EffectSummonType(uint32 i) TempSummon * summon = m_originalCaster->SummonCreature(entry,px,py,pz,m_caster->GetOrientation(),summonType,duration); if (properties->Category == SUMMON_CATEGORY_ALLY) - summon->setFaction(m_caster->getFaction()); + { + summon->SetUInt64Value(UNIT_FIELD_SUMMONEDBY, m_originalCaster->GetGUID()); + summon->setFaction(m_originalCaster->getFaction()); + } } break; } -- cgit v1.2.3