aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExodius <Exodius@users.noreply.github.com>2014-07-24 03:08:49 +0200
committerExodius <Exodius@users.noreply.github.com>2014-07-24 03:08:49 +0200
commit02d56e00bc256f224b7d05f90af2c0af7cb287bf (patch)
treefc807d027b7022e9ae2cc3dd5101482d06889572
parent9a80eb5a85d384b53ab6a3375f0be94105a12653 (diff)
Core/Spells: Death and Decay
Solves problems with Death and Decay doing LoS check using the caster instead of the center of AOE. Fix by @PKX Closes #6345
-rw-r--r--src/server/game/Spells/Auras/SpellAuraEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
index 152dc903825..2205f0d4607 100644
--- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp
+++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
@@ -5461,7 +5461,7 @@ void AuraEffect::HandlePeriodicDummyAuraTick(Unit* target, Unit* caster) const
if (GetSpellInfo()->SpellFamilyFlags[0] & 0x20)
{
if (caster)
- caster->CastCustomSpell(target, 52212, &m_amount, NULL, NULL, true, 0, this);
+ target->CastCustomSpell(target, 52212, &m_amount, NULL, NULL, true, 0, this, caster->GetGUID());
break;
}
// Blood of the North