Bots use rings for less significant speed loss

<50% -> <90%
This commit is contained in:
Sally Coolatta 2024-01-16 01:56:50 -05:00 committed by AJ Martinez
parent 269b6d8469
commit 68ee84168c

View file

@ -1448,7 +1448,7 @@ static void K_BotItemRings(const player_t *player, ticcmd_t *cmd)
return;
}
if (player->speed < K_GetKartSpeed(player, false, true) / 2 // Being slowed down too much
if (player->speed < (K_GetKartSpeed(player, false, true) * 9) / 10 // Being slowed down too much
|| player->speedboost > (FRACUNIT/5)) // Have another type of boost (tethering)
{
saferingsval -= 5;