fix(Core/Unit): Introduce animtier to malygos to fix flying animations (#24067)
This commit is contained in:
parent
a54d1845e5
commit
b73028f6f5
9 changed files with 49 additions and 36 deletions
|
|
@ -204,10 +204,10 @@ bool WaypointMovementGenerator<Creature>::StartMove(Creature* creature)
|
|||
switch (node.move_type)
|
||||
{
|
||||
case WAYPOINT_MOVE_TYPE_LAND:
|
||||
init.SetAnimation(Movement::ToGround);
|
||||
init.SetAnimation(AnimTier::Ground);
|
||||
break;
|
||||
case WAYPOINT_MOVE_TYPE_TAKEOFF:
|
||||
init.SetAnimation(Movement::ToFly);
|
||||
init.SetAnimation(AnimTier::Hover);
|
||||
break;
|
||||
case WAYPOINT_MOVE_TYPE_RUN:
|
||||
init.SetWalk(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue