mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Do not call AttackStop() when switching target.
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user