diff options
author | megamage <none@none> | 2008-12-24 13:06:19 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-24 13:06:19 -0600 |
commit | 5923c0559f20bbbed9441a2f5459fb7e25cf24db (patch) | |
tree | f333d04cbc82c86b012aa2b1f715354121206dbf /src | |
parent | e41ff462fa9b2d5fc7419378a0c1d7d9bcab827a (diff) |
*Spell target selection fix. Without this patch many spells are bugged.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index b3930a85520..f95f6dd1424 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -164,6 +164,9 @@ void SpellCastTargets::Update(Unit* caster) if(m_itemTarget) m_itemTargetEntry = m_itemTarget->GetEntry(); } + + m_originalCasterGUID = m_caster->GetGUID(); + m_originalCaster = m_caster; } bool SpellCastTargets::read ( WorldPacket * data, Unit *caster ) |