Permalink
Browse files

fix typo in 1885

  • Loading branch information...
1 parent 79c868d commit 95b8d0021c620df0194c9bf841a3b64371bfdb57 @rsa rsa committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game/Unit.cpp
View
@@ -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;

0 comments on commit 95b8d00

Please sign in to comment.