fix(Core/AI): remove an unused variable in ScriptedAI (#19816)

fix(Core/AI): remove an unused variable
This commit is contained in:
Grimdhex
2024-08-31 16:05:18 +02:00
committed by GitHub
parent 8874953862
commit 5ab142af93
2 changed files with 1 additions and 5 deletions
@@ -190,8 +190,7 @@ bool SummonList::IsAnyCreatureInCombat() const
} }
ScriptedAI::ScriptedAI(Creature* creature) : CreatureAI(creature), ScriptedAI::ScriptedAI(Creature* creature) : CreatureAI(creature),
me(creature), me(creature)
IsFleeing(false)
{ {
_isHeroic = me->GetMap()->IsHeroic(); _isHeroic = me->GetMap()->IsHeroic();
_difficulty = Difficulty(me->GetMap()->GetSpawnMode()); _difficulty = Difficulty(me->GetMap()->GetSpawnMode());
@@ -279,9 +279,6 @@ struct ScriptedAI : public CreatureAI
//Pointer to creature we are manipulating //Pointer to creature we are manipulating
Creature* me; Creature* me;
//For fleeing
bool IsFleeing;
// ************* // *************
//Pure virtual functions //Pure virtual functions
// ************* // *************