fix(animation): changed animation timings
This commit is contained in:
parent
67b138741b
commit
36d9fee5f4
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue