*Fix a typo of the last commit.
--HG-- branch : trunk
This commit is contained in:
+3
-1
@@ -8089,9 +8089,11 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
|
|||||||
InterruptSpell(CURRENT_MELEE_SPELL);
|
InterruptSpell(CURRENT_MELEE_SPELL);
|
||||||
if(!meleeAttack)
|
if(!meleeAttack)
|
||||||
clearUnitState(UNIT_STAT_MELEE_ATTACKING);
|
clearUnitState(UNIT_STAT_MELEE_ATTACKING);
|
||||||
m_attacking->_removeAttacker(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(m_attacking)
|
||||||
|
m_attacking->_removeAttacker(this);
|
||||||
|
|
||||||
m_attacking = victim;
|
m_attacking = victim;
|
||||||
m_attacking->_addAttacker(this);
|
m_attacking->_addAttacker(this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user