mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 03:22:35 +00:00
Make rubberband air speed cap even harsher
This commit is contained in:
parent
38ec153e90
commit
ca7154f521
1 changed files with 6 additions and 1 deletions
|
|
@ -4170,7 +4170,12 @@ static void P_3dMovement(player_t *player)
|
|||
|
||||
if (K_PlayerUsesBotMovement(player))
|
||||
{
|
||||
div = FixedMul(div, K_BotRubberband(player));
|
||||
fixed_t rubberband = K_BotRubberband(player);
|
||||
|
||||
if (rubberband > FRACUNIT)
|
||||
{
|
||||
div = FixedMul(div, 4*rubberband);
|
||||
}
|
||||
}
|
||||
|
||||
newspeed = speed - FixedDiv((speed - airspeedcap), div);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue