*Do not call AttackStop() when switching target.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-15 17:12:59 -06:00
parent e8fcd81e26
commit 681d1d171e

View File

@@ -7994,7 +7994,12 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
}
return false;
}
AttackStop();
//switch target
m_attacking->_removeAttacker(this);
InterruptSpell(CURRENT_MELEE_SPELL);
if(!meleeAttack)
clearUnitState(UNIT_STAT_MELEE_ATTACKING);
}
//Set our target