Core/Movement: Corrected Animation Tier handling

Port From (https://github.com/TrinityCore/TrinityCore/commit/ee620856ad2918ae7ce91a37a980d9f2129a074a)
This commit is contained in:
hondacrx
2022-05-03 13:29:52 -04:00
parent c921160078
commit 42046011e7
11 changed files with 54 additions and 34 deletions
@@ -358,10 +358,10 @@ namespace Game.Movement
switch (waypoint.moveType)
{
case WaypointMoveType.Land:
init.SetAnimation(AnimType.ToGround);
init.SetAnimation(AnimTier.Ground);
break;
case WaypointMoveType.Takeoff:
init.SetAnimation(AnimType.ToFly);
init.SetAnimation(AnimTier.Hover);
break;
case WaypointMoveType.Run:
init.SetWalk(false);