mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove bot accel rubberbanding
This commit is contained in:
parent
6eb7c6a9a9
commit
4b5daa6513
1 changed files with 0 additions and 7 deletions
|
|
@ -2239,13 +2239,6 @@ fixed_t K_GetKartAccel(player_t *player)
|
||||||
k_accel = FixedMul(k_accel, FRACUNIT + (sphereAdd * player->spheres));
|
k_accel = FixedMul(k_accel, FRACUNIT + (sphereAdd * player->spheres));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (K_PlayerUsesBotMovement(player))
|
|
||||||
{
|
|
||||||
// Rubberbanding acceleration is waekened since it makes hits feel more meaningful
|
|
||||||
fixed_t rubberband = K_BotRubberband(player) - FRACUNIT;
|
|
||||||
k_accel = FixedMul(k_accel, FRACUNIT + (rubberband/2));
|
|
||||||
}
|
|
||||||
|
|
||||||
return FixedMul(k_accel, FRACUNIT+player->kartstuff[k_accelboost]);
|
return FixedMul(k_accel, FRACUNIT+player->kartstuff[k_accelboost]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue