Correction minime de Bob

This commit is contained in:
Marc-Eric Martel 2021-10-08 08:48:04 -04:00
parent 79c299a3b6
commit 55fccd3b2e

View File

@ -25,7 +25,7 @@ void Player::Move(bool front, bool back, bool left, bool right, bool jump, bool
static int dashtimeout = 0; static int dashtimeout = 0;
static float gametime = 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) { if (dashtimeout > 0) {
dash = false; dash = false;