aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-12 02:34:24 +0200
committerQAston <none@none>2009-07-12 02:34:24 +0200
commitbda2a721fa777bd1e1ab146036fb6144b09efadc (patch)
tree7636bac3f43af0b1d399e8f25eed3a9e820aa3fd /src/game/SpellAuras.cpp
parent87213301e7f363abe4ae17c0988fd7262a5feb19 (diff)
*Remove incorrect object deletion from EffectSummonObject call and use RemoveGameObject() instead.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 3b98301cb2e..8f679517c9b 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1266,7 +1266,7 @@ void Aura::_RemoveAura()
if (procEx)
{
uint32 ProcCaster, ProcVictim;
- if (IsPositiveSpell(GetId()))
+ if (IsPositive())
{
ProcCaster = PROC_FLAG_SUCCESSFUL_POSITIVE_MAGIC_SPELL | PROC_FLAG_SUCCESSFUL_POSITIVE_SPELL_HIT;
ProcVictim = PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL | PROC_FLAG_TAKEN_POSITIVE_SPELL;