Don't do for tire grease again, but for the opposite reason.

This commit is contained in:
Sally Coolatta 2022-04-01 17:33:41 -04:00
parent 18dc75e6ca
commit 0eb5c29448

View file

@ -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)