mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'bot-small-tweakings' of https://git.do.srb2.org/KartKrew/Kart into bot-small-tweakings
This commit is contained in:
commit
ec22186506
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;
|
||||
}
|
||||
|
||||
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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue