Do not adjust friction on bots for tire grease

This commit is contained in:
Sally Coolatta 2021-11-28 14:36:58 -05:00
parent 17b3cd205e
commit dca887e23e

View file

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