fix(Core/Players): charge should not delay player's auto attacks (#8978)
- Closes #7266
This commit is contained in:
parent
53a7a295fd
commit
0e84538ee1
1 changed files with 1 additions and 2 deletions
|
|
@ -156,8 +156,7 @@ void Player::Update(uint32 p_time)
|
|||
|
||||
m_achievementMgr->UpdateTimedAchievements(p_time);
|
||||
|
||||
if (HasUnitState(UNIT_STATE_MELEE_ATTACKING) &&
|
||||
!HasUnitState(UNIT_STATE_CASTING))
|
||||
if (HasUnitState(UNIT_STATE_MELEE_ATTACKING) && !HasUnitState(UNIT_STATE_CASTING) && !HasUnitState(UNIT_STATE_CHARGING))
|
||||
{
|
||||
if (Unit* victim = GetVictim())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue