*Revert my last commit. (What am I thinking today?)

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-24 14:30:05 -06:00
parent 5fd71c003b
commit bd2ded228d
2 changed files with 0 additions and 10 deletions

View File

@@ -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 )

View File

@@ -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