aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaymoira <none@none>2008-12-24 21:05:05 +0100
committerBlaymoira <none@none>2008-12-24 21:05:05 +0100
commit8f338a56b935e106af47283ee10c57dd63914a9b (patch)
tree7629f0cce1835d8a13fb2a2e280207c07a4e628d
parent5923c0559f20bbbed9441a2f5459fb7e25cf24db (diff)
*Fixed compile error.
--HG-- branch : trunk
-rw-r--r--src/game/Spell.h9
1 files changed, 8 insertions, 1 deletions
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)