From 2347a3f7e496be5df8e4dc3d290a1d0acda8cce4 Mon Sep 17 00:00:00 2001 From: Marc-Eric Martel <1205697@etu.cegepsth.qc.ca> Date: Fri, 8 Oct 2021 09:27:52 -0400 Subject: [PATCH] dashtimeout plus petit. --- SQCSim2021/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQCSim2021/player.cpp b/SQCSim2021/player.cpp index 57a2e71..49967ac 100644 --- a/SQCSim2021/player.cpp +++ b/SQCSim2021/player.cpp @@ -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;