Skip to content

Commit

Permalink
Relations Stage 2 Rollout: Fix direction of query in TARGET_SINGLE_FR…
Browse files Browse the repository at this point in the history
…IEND
  • Loading branch information
killerwife committed Feb 9, 2018
1 parent 39c13f3 commit 59ef7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/Spell.cpp
Expand Up @@ -2459,7 +2459,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
{
if (Unit* unitTarget = m_targets.getUnitTarget())
{
if (unitTarget->CanAssistSpell(m_caster, m_spellInfo))
if (m_caster->CanAssistSpell(unitTarget, m_spellInfo))
targetUnitMap.push_back(unitTarget);
else
{
Expand Down

0 comments on commit 59ef7f3

Please sign in to comment.