From bd2ded228d4f3d4e45f7fa6a715d4cb66b3e0762 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 24 Dec 2008 14:30:05 -0600 Subject: *Revert my last commit. (What am I thinking today?) --HG-- branch : trunk --- src/game/Spell.cpp | 3 --- src/game/Spell.h | 7 ------- 2 files changed, 10 deletions(-) (limited to 'src/game') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index f95f6dd1424..b3930a85520 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -164,9 +164,6 @@ 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 ) diff --git a/src/game/Spell.h b/src/game/Spell.h index 2e7aee37c94..284e0b88fb1 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -180,13 +180,6 @@ class SpellCastTargets uint64 m_CorpseTargetGUID; uint64 m_itemTargetGUID; uint32 m_itemTargetEntry; - - Unit* m_caster; - - uint64 m_originalCasterGUID; // real source of cast (aura caster/etc), used for spell targets selection - // e.g. damage around area spell trigered by victim aura and damage enemies of aura caster - Unit* m_originalCaster; // cached pointer for m_originalCaster, updated at Spell::UpdatePointers() - }; enum SpellState -- cgit v1.2.3