diff options
| author | megamage <none@none> | 2009-08-24 22:31:54 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-24 22:31:54 -0500 |
| commit | 87270fefc235d45c2d9116b4a26f0dc32f1a5d7e (patch) | |
| tree | dfe9897672fc1e33fa8ee1b5fa4f9c299afa2aec /src/game/Creature.cpp | |
| parent | a8f394f8510797e60e93a22ed409d860579ad76b (diff) | |
*Some update of aura system. Remove unnecessary variables and parameters from auraeffect. Always refer to parent aura when finding target/source/caster.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 9aa6eb78c74..a1cb9e5649f 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -2275,7 +2275,7 @@ bool Creature::LoadCreaturesAddon(bool reload) continue; } - AddAuraEffect(AdditionalSpellInfo, cAura->effect_idx, this); + AddAuraEffect(AdditionalSpellInfo, cAura->effect_idx, this, this); sLog.outDebug("Spell: %u with Aura %u added to creature (GUIDLow: %u Entry: %u )", cAura->spell_id, AdditionalSpellInfo->EffectApplyAuraName[cAura->effect_idx],GetGUIDLow(),GetEntry()); } } |
