fix(Scripts/BRD): movement of Burning Spirits during Ambassador Flamelash encounter (#7810)

- Closes #6964
This commit is contained in:
UltraNix
2021-09-16 14:30:58 +02:00
committed by GitHub
parent 1fa6da61d4
commit fd229f75e1
3 changed files with 39 additions and 64 deletions

View File

@@ -172,7 +172,7 @@ public:
virtual bool CanAIAttack(Unit const* /*target*/) const { return true; }
virtual void AttackStart(Unit* /*target*/);
virtual void UpdateAI(uint32 diff) = 0;
virtual void UpdateAI(uint32 /*diff*/) = 0;
virtual void InitializeAI() { if (!me->isDead()) Reset(); }

View File

@@ -834,7 +834,7 @@ void MotionMaster::DirectDelete(_Ty curr)
void MotionMaster::DelayedDelete(_Ty curr)
{
LOG_FATAL("movement.motionmaster", "Unit (Entry %u) is trying to delete its updating MG (Type %u)!", _owner->GetEntry(), curr->GetMovementGeneratorType());
LOG_DEBUG("movement.motionmaster", "Unit (Entry %u) is trying to delete its updating MG (Type %u)!", _owner->GetEntry(), curr->GetMovementGeneratorType());
if (isStatic(curr))
return;
if (!_expList)