mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-22 10:51:54 +00:00
If you'll be slowing yourself down accelerating, don't
friction can take care of that
This commit is contained in:
parent
1e1c33adbf
commit
27f36f208c
1 changed files with 3 additions and 0 deletions
|
@ -1110,6 +1110,9 @@ fixed_t K_3dKartMovement(player_t *player, boolean onground, boolean forwardmove
|
|||
else if (!forwardmovement)
|
||||
return FRACUNIT/2;
|
||||
|
||||
if (finalspeed < 0)
|
||||
finalspeed = 0;
|
||||
|
||||
return finalspeed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue