Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix typo in 1885

  • Loading branch information...
commit 95b8d0021c620df0194c9bf841a3b64371bfdb57 1 parent 79c868d
@rsa rsa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/game/Unit.cpp
View
2  src/game/Unit.cpp
@@ -7163,7 +7163,7 @@ Unit* Unit::SelectMagnetTarget(Unit *victim, Spell* spell, SpellEffectIndex eff)
if (Unit* magnet = aura->GetCaster())
{
// spell->CheckTarget() include LOS check
- if (magnet->isAlive() && ((!spell && magnet->IsWithinLOSInMap(this) || (spell && spell->CheckTarget(magnet, eff)))))
+ if (magnet->isAlive() && ((!spell && magnet->IsWithinLOSInMap(this)) || (spell && spell->CheckTarget(magnet, eff))))
{
if (roll_chance_i(aura->GetModifier()->m_amount))
return magnet;
Please sign in to comment.
Something went wrong with that request. Please try again.