Updates some enums
Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Game.Movement
|
||||
RemoveFlag(MovementGeneratorFlags.Deactivated);
|
||||
|
||||
owner.CombatStopWithPets();
|
||||
owner.AddUnitFlag(UnitFlags.RemoveClientControl | UnitFlags.TaxiFlight);
|
||||
owner.AddUnitFlag(UnitFlags.RemoveClientControl | UnitFlags.OnTaxi);
|
||||
|
||||
uint end = GetPathAtMapEnd();
|
||||
uint currentNodeId = GetCurrentNode();
|
||||
@@ -139,7 +139,7 @@ namespace Game.Movement
|
||||
uint taxiNodeId = owner.m_taxi.GetTaxiDestination();
|
||||
owner.m_taxi.ClearTaxiDestinations();
|
||||
owner.Dismount();
|
||||
owner.RemoveUnitFlag(UnitFlags.RemoveClientControl | UnitFlags.TaxiFlight);
|
||||
owner.RemoveUnitFlag(UnitFlags.RemoveClientControl | UnitFlags.OnTaxi);
|
||||
|
||||
if (owner.m_taxi.Empty())
|
||||
{
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace Game.AI
|
||||
|
||||
if (movementInform && HasFlag(MovementGeneratorFlags.InformEnabled))
|
||||
{
|
||||
if (!owner.HasSwimmingFlagOutOfCombat())
|
||||
if (!owner.HasCanSwimFlagOutOfCombat())
|
||||
owner.RemoveUnitFlag(UnitFlags.CanSwim);
|
||||
|
||||
owner.SetSpawnHealth();
|
||||
|
||||
Reference in New Issue
Block a user