From 8f338a56b935e106af47283ee10c57dd63914a9b Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Wed, 24 Dec 2008 21:05:05 +0100 Subject: *Fixed compile error. --HG-- branch : trunk --- src/game/Spell.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Spell.h b/src/game/Spell.h index ba5e14b33f2..2e7aee37c94 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -180,6 +180,13 @@ 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 @@ -436,7 +443,7 @@ class Spell 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 da,age emeies of aura caster + // 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() Spell** m_selfContainer; // pointer to our spell container (if applicable) -- cgit v1.2.3