diff options
author | Treeston <treeston.mmoc@gmail.com> | 2019-06-23 00:32:59 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-12 00:33:18 +0100 |
commit | dabdad3b47d7438327d3ee861eddd68e9bea68b1 (patch) | |
tree | 20a6abd361e9d6005f13be7ce4bfb40c7c165f72 /src/server/game/Spells/Spell.cpp | |
parent | 35e55f10899712435102764671241b94a2026599 (diff) |
Core/Misc: Rename Unit::AttackedTarget to Unit::AtTargetAttacked to match naming scheme for these notifiers
(cherry picked from commit 632a300dd20aad9663392c2f21a8ed29ffee1ef7)
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 74baf6338c8..ae80cf47590 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -2620,7 +2620,7 @@ void Spell::TargetInfo::DoDamageAndTriggers(Spell* spell) if (MissCondition != SPELL_MISS_EVADE && _spellHitTarget && !spell->m_caster->IsFriendlyTo(unit) && (!spell->IsPositive() || spell->m_spellInfo->HasEffect(SPELL_EFFECT_DISPEL))) { if (Unit* unitCaster = spell->m_caster->ToUnit()) - unitCaster->AttackedTarget(unit, spell->m_spellInfo->HasInitialAggro()); + unitCaster->AtTargetAttacked(unit, spell->m_spellInfo->HasInitialAggro()); if (!unit->IsStandState()) unit->SetStandState(UNIT_STAND_STATE_STAND); |