Skip to content

Commit

Permalink
No override needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Dec 23, 2023
1 parent 8a219fb commit d8669a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/game/AI/PetEventAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ void PetEventAI::AttackStart(Unit* pWho)
}
}

void PetEventAI::AttackedBy(Unit* pAttacker)
{
if (!m_creature->GetVictim())
AttackStart(pAttacker);
}

Unit* PetEventAI::FindTargetForAttack() const
{
if (Unit* pTaunter = m_creature->GetTauntTarget())
Expand Down
2 changes: 0 additions & 2 deletions src/game/AI/PetEventAI.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ class PetEventAI : public CreatureEventAI

void AttackStart(Unit* /*pWho*/) override;

void AttackedBy(Unit* /*pAttacker*/) override;

void UpdateAI(uint32 const uiDiff) override;

virtual void OwnerAttackedBy(Unit* /*attacker*/) override;
Expand Down

0 comments on commit d8669a2

Please sign in to comment.