dashtimeout plus petit.

This commit is contained in:
Marc-Eric Martel 2021-10-08 09:27:52 -04:00
parent 5cca6469e0
commit 2347a3f7e4

View File

@ -35,7 +35,7 @@ void Player::Move(bool front, bool back, bool left, bool right, bool jump, bool
if (jumped && !jump) jumped = false; // Anti-rebondissement du saut, pour pouvoir rebondir.
if (dash) dashtimeout = 5;
if (dash) dashtimeout = 2;
if ((jump || dash) && dbljump < 2 && !jumped ) {
accjmp += jump? m_jumpforce: 0.1f;