mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Do not adjust friction on bots for tire grease
This commit is contained in:
parent
17b3cd205e
commit
dca887e23e
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ fixed_t K_BotFrictionRubberband(player_t *player, fixed_t frict)
|
||||||
fixed_t rubberband = K_BotRubberband(player) - FRACUNIT;
|
fixed_t rubberband = K_BotRubberband(player) - FRACUNIT;
|
||||||
fixed_t origFrict, newFrict;
|
fixed_t origFrict, newFrict;
|
||||||
|
|
||||||
if (rubberband <= 0)
|
if (rubberband <= 0 || player->tiregrease > 0)
|
||||||
{
|
{
|
||||||
// Never get weaker than normal friction
|
// Never get weaker than normal friction
|
||||||
return frict;
|
return frict;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue