Updates some enums

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2022-05-29 22:53:33 -04:00
parent ccf3198c7e
commit 965aeb7425
8 changed files with 21 additions and 21 deletions
@@ -74,7 +74,7 @@ namespace Game.AI
if (movementInform && HasFlag(MovementGeneratorFlags.InformEnabled))
{
if (!owner.HasSwimmingFlagOutOfCombat())
if (!owner.HasCanSwimFlagOutOfCombat())
owner.RemoveUnitFlag(UnitFlags.CanSwim);
owner.SetSpawnHealth();