dashtimeout plus petit.
This commit is contained in:
parent
5cca6469e0
commit
2347a3f7e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user