mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/AI: No longer do strange things when told to enter evade mode while there's no need to do so, typically by terrible legacy code.
(cherry picked from commit 163f44c1b0)
This commit is contained in:
@@ -265,10 +265,7 @@ void ObjectGridStoper::Visit(CreatureMapType &m)
|
||||
iter->GetSource()->RemoveAllDynObjects();
|
||||
iter->GetSource()->RemoveAllAreaTriggers();
|
||||
if (iter->GetSource()->IsInCombat())
|
||||
{
|
||||
iter->GetSource()->CombatStop();
|
||||
iter->GetSource()->AI()->EnterEvadeMode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user