Merge branch 'bot-small-tweakings' of https://git.do.srb2.org/KartKrew/Kart into bot-small-tweakings

This commit is contained in:
Sally Coolatta 2024-04-30 14:23:08 -04:00
commit ec22186506

View file

@ -1497,6 +1497,13 @@ static void K_BotItemInstashield(const player_t *player, ticcmd_t *cmd)
return;
}
if (player->botvars.difficulty <= 7)
{
// Weak players don't whip.
// Weak bots don't either.
return;
}
// Find players within the instashield's range.
for (i = 0; i < MAXPLAYERS; i++)
{