If you'll be slowing yourself down accelerating, don't

friction can take care of that
This commit is contained in:
Sryder 2017-03-09 21:53:57 +00:00
parent 1e1c33adbf
commit 27f36f208c
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}