Skip to content

Commit

Permalink
AI: Make ScriptedAI::EnterEvadeMode call proper parent
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Sep 13, 2024
1 parent 4e26029 commit 8ca1636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/AI/ScriptDevAI/include/sc_creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void ScriptedAI::EnterCombat(Unit* enemy)
*/
void ScriptedAI::EnterEvadeMode()
{
UnitAI::EnterEvadeMode();
CreatureAI::EnterEvadeMode();

ResetTimersOnEvade();
Reset();
Expand Down

0 comments on commit 8ca1636

Please sign in to comment.