fix(Core/AI): remove an unused variable in ScriptedAI (#19816)
fix(Core/AI): remove an unused variable
This commit is contained in:
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),
|
||||
me(creature),
|
||||
IsFleeing(false)
|
||||
me(creature)
|
||||
{
|
||||
_isHeroic = me->GetMap()->IsHeroic();
|
||||
_difficulty = Difficulty(me->GetMap()->GetSpawnMode());
|
||||
|
|
|
|||
|
|
@ -279,9 +279,6 @@ struct ScriptedAI : public CreatureAI
|
|||
//Pointer to creature we are manipulating
|
||||
Creature* me;
|
||||
|
||||
//For fleeing
|
||||
bool IsFleeing;
|
||||
|
||||
// *************
|
||||
//Pure virtual functions
|
||||
// *************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue