fix(Core/AI): remove an unused variable in ScriptedAI (#19816)
fix(Core/AI): remove an unused variable
This commit is contained in:
@@ -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
|
||||||
// *************
|
// *************
|
||||||
|
|||||||
Reference in New Issue
Block a user