aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Spell.cpp3
-rw-r--r--src/game/Spell.h7
2 files changed, 0 insertions, 10 deletions
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