mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-09 08:22:28 +00:00
Don't do for tire grease again, but for the opposite reason.
This commit is contained in:
parent
18dc75e6ca
commit
0eb5c29448
1 changed files with 6 additions and 0 deletions
|
|
@ -654,6 +654,12 @@ fixed_t K_BotFrictionRubberband(player_t *player, fixed_t frict)
|
|||
return frict;
|
||||
}
|
||||
|
||||
if (player->tiregrease > 0)
|
||||
{
|
||||
// Bots will lose all of their momentum without this.
|
||||
return frict;
|
||||
}
|
||||
|
||||
newFrict = frict - FixedMul(value, rubberband);
|
||||
|
||||
if (newFrict < 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue