mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable rubberbanding on acceleration
This makes hitting bots feel more meaningful, and makes bots with the accel stat not as obsolete when every bot's rubberbanding :p
This commit is contained in:
parent
4005288d40
commit
4f0d49c87b
1 changed files with 3 additions and 0 deletions
|
|
@ -2031,10 +2031,13 @@ fixed_t K_GetKartAccel(player_t *player)
|
||||||
//k_accel += 3 * (9 - kartspeed); // 36 - 60
|
//k_accel += 3 * (9 - kartspeed); // 36 - 60
|
||||||
k_accel += 4 * (9 - kartspeed); // 32 - 64
|
k_accel += 4 * (9 - kartspeed); // 32 - 64
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
// Rubberbanding acceleration is disabled since it makes hits feel more meaningful
|
||||||
if (K_PlayerUsesBotMovement(player))
|
if (K_PlayerUsesBotMovement(player))
|
||||||
{
|
{
|
||||||
k_accel = FixedMul(k_accel, K_BotRubberband(player));
|
k_accel = FixedMul(k_accel, K_BotRubberband(player));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
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