Show Knuckles drop animation if sliding off edge

This commit is contained in:
Lucas S. Vieira 2025-04-13 13:15:34 -03:00
parent 2912c2f007
commit a7476364ca

View file

@ -712,6 +712,7 @@ _player_update_collision_tb(Player *player)
if(player->sliding) { if(player->sliding) {
// Player was sliding but left the platform. Reset action. // Player was sliding but left the platform. Reset action.
player_set_action(player, ACTION_NONE); player_set_action(player, ACTION_NONE);
player_set_animation_direct(player, ANIM_DROP);
player->sliding = 0; player->sliding = 0;
} }
} }