mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Weak bots don't whip
This commit is contained in:
parent
fb954490c1
commit
d1001ccc60
1 changed files with 7 additions and 0 deletions
|
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue