aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-24 14:30:05 -0600
committermegamage <none@none>2008-12-24 14:30:05 -0600
commitbd2ded228d4f3d4e45f7fa6a715d4cb66b3e0762 (patch)
tree28faa49b5c0247e7bd5ff4ad7aa72be9711b39f9
parent5fd71c003b70b9a96a907c6f344527725fefae76 (diff)
*Revert my last commit. (What am I thinking today?)
--HG-- branch : trunk
-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