aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-05-19 18:33:49 +0200
committerQAston <none@none>2009-05-19 18:33:49 +0200
commit2b47f0c0f7756b89384a3c6969a8a133b3a18ee8 (patch)
tree205bdc2e15ebd2af9bda25afb7e877af8a1ca81d /src/game/Spell.cpp
parent2a2eff190c2ab9c0fb2f1e7b99209c36ab42eb46 (diff)
*Fix Demonic Empowerment.
*Some code optimisations. *Set formalCasterGuid for area auras correctly. --HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 8f74606cda1..424bfd097fe 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -738,7 +738,7 @@ void Spell::prepareDataForTriggerSystem(AuraEffect * triggeredByAura)
to prevent chain proc of these spells
*/
- if (triggeredByAura && !triggeredByAura->GetParentAura()->CanProc())
+ if (triggeredByAura && !triggeredByAura->GetParentAura()->GetTarget()->CanProc())
{
m_canTrigger=false;
}