diff options
author | megamage <none@none> | 2009-08-26 19:28:21 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-26 19:28:21 -0500 |
commit | 21af4cf832daeccb1617e37e15cd7b9bcebfb6c8 (patch) | |
tree | 04d46e30bc492ba8aa7b449ab2a3f721e95d96a3 /src/game/SpellEffects.cpp | |
parent | 390257b2f6d4d4b03a3226a39b478b3ea92b4dea (diff) |
*Some clean up and add debug info to find the reason of crash.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index ffb7260d2f1..4f1195d001c 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3488,6 +3488,7 @@ void Spell::EffectSummonType(uint32 i) { summon->SetUInt64Value(UNIT_FIELD_SUMMONEDBY, m_originalCaster->GetGUID()); summon->setFaction(m_originalCaster->getFaction()); + summon->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id); } } break; |