*Fix a typo of the last commit.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-29 10:16:05 -06:00
parent 666db14e7c
commit 3733af4d6a
+3 -1
View File
@@ -8089,9 +8089,11 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
InterruptSpell(CURRENT_MELEE_SPELL);
if(!meleeAttack)
clearUnitState(UNIT_STAT_MELEE_ATTACKING);
m_attacking->_removeAttacker(this);
}
if(m_attacking)
m_attacking->_removeAttacker(this);
m_attacking = victim;
m_attacking->_addAttacker(this);