mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 13:28:02 +03:00
Show Knuckles drop animation if sliding off edge
This commit is contained in:
parent
2912c2f007
commit
a7476364ca
1 changed files with 1 additions and 0 deletions
|
@ -712,6 +712,7 @@ _player_update_collision_tb(Player *player)
|
|||
if(player->sliding) {
|
||||
// Player was sliding but left the platform. Reset action.
|
||||
player_set_action(player, ACTION_NONE);
|
||||
player_set_animation_direct(player, ANIM_DROP);
|
||||
player->sliding = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue