fix(Core/Unit): Introduce animtier to malygos to fix flying animations (#24067)

This commit is contained in:
killerwife 2025-12-10 05:09:21 +01:00 committed by GitHub
parent a54d1845e5
commit b73028f6f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 49 additions and 36 deletions

View file

@ -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);