diff --git a/src/player.c b/src/player.c index 7495db5..5333ec6 100644 --- a/src/player.c +++ b/src/player.c @@ -702,5 +702,6 @@ void player_set_falling(Player *player) { mixer_play_effect(FALL0 + get_random(1)); + player->sprite->clip = CLIP16(0, 0); player->sprite->state = SPRITE_STATE_FALLING; } diff --git a/src/sprite.c b/src/sprite.c index 7d51041..a05de2d 100644 --- a/src/sprite.c +++ b/src/sprite.c @@ -123,7 +123,6 @@ sprite_update(Sprite *s, UpdateData *data) if (s->state == SPRITE_STATE_FALLING) { if (!timer_started(s->animationTimer)) { timer_start(s->animationTimer); - s->clip = CLIP16(0, 0); } else { if (timer_get_ticks(s->animationTimer) > 100) { timer_start(s->animationTimer);