mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +00:00
Fix toaster's slower acceleration on ice surfaces
Will likely act slightly different because of acceleration being reworked and it using a different variable
This commit is contained in:
parent
aff9a78d76
commit
cf2671be77
1 changed files with 3 additions and 0 deletions
|
@ -4785,6 +4785,9 @@ static void P_3dMovement(player_t *player)
|
||||||
|
|
||||||
movepushforward = FixedMul(movepushforward, player->mo->scale);
|
movepushforward = FixedMul(movepushforward, player->mo->scale);
|
||||||
|
|
||||||
|
if (player->mo->movefactor != FRACUNIT) // Friction-scaled acceleration...
|
||||||
|
movepushforward = FixedMul(movepushforward, player->mo->movefactor);
|
||||||
|
|
||||||
//if (mforward && cmd->forwardmove < 0) // SRB2kart - braking isn't instant
|
//if (mforward && cmd->forwardmove < 0) // SRB2kart - braking isn't instant
|
||||||
// movepushforward /= 32;
|
// movepushforward /= 32;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue