From 55fccd3b2e141fc2b67d67840562955b0bad44dd Mon Sep 17 00:00:00 2001 From: Marc-Eric Martel <1205697@etu.cegepsth.qc.ca> Date: Fri, 8 Oct 2021 08:48:04 -0400 Subject: [PATCH] Correction minime de Bob --- SQCSim2021/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQCSim2021/player.cpp b/SQCSim2021/player.cpp index 5fd8e49..a44d5f8 100644 --- a/SQCSim2021/player.cpp +++ b/SQCSim2021/player.cpp @@ -25,7 +25,7 @@ void Player::Move(bool front, bool back, bool left, bool right, bool jump, bool static int dashtimeout = 0; static float gametime = 0; - if (gametime <= 180.f) gametime += elapsedTime*m_topspeed/2; else gametime = 0; + if (gametime <= 360.f) gametime += elapsedTime*m_topspeed/2; else gametime = 0; if (dashtimeout > 0) { dash = false;