fix(animation): changed animation timings

This commit is contained in:
Sara 2023-11-24 23:31:15 +01:00
parent 67b138741b
commit 36d9fee5f4

View file

@ -74,7 +74,7 @@ const State* PlayerJabB_Update(Player* self, float deltaTime) {
const float ntime = animation_sprite_get_time_normalized(self->currentAnimation);
if(ntime >= 2.f)
return PlayerIdle();
if(self->attackInput && ntime > 1.1f)
if(self->attackInput && ntime > 1.0f)
return PlayerJabA();
if(!veqf(self->moveInput, ZeroVector) && ntime > 1.05f)
return PlayerWalk();