Core/Unit: cleanup UnitState enum

Port From (https://github.com/TrinityCore/TrinityCore/commit/1f0dc07ef183eefab5ad2c4a4f857d5184f5ad6f)
This commit is contained in:
hondacrx
2020-05-06 14:46:11 -04:00
parent 9889415e6b
commit e81b1e3ba7
4 changed files with 7 additions and 7 deletions
@@ -71,7 +71,7 @@ namespace Game.AI
skipToHome = false;
arrived = false;
owner.ClearUnitState(UnitState.AllState & ~(UnitState.Evade | UnitState.IgnorePathfinding));
owner.ClearUnitState(UnitState.AllErasable & ~UnitState.Evade);
}
public override MovementGeneratorType GetMovementGeneratorType()