Weak bots don't whip

This commit is contained in:
AJ Martinez 2024-04-29 20:21:37 -07:00
parent fb954490c1
commit d1001ccc60

View file

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