mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 21:12:13 +00:00
Guarantee that Foes/Rivals always try to pass generic bots
This commit is contained in:
parent
bb417816c2
commit
ec36f6bb01
1 changed files with 5 additions and 0 deletions
|
|
@ -652,6 +652,11 @@ static UINT32 K_BotRubberbandDistance(const player_t *player)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (player->botvars.foe && !players[i].botvars.foe)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// First check difficulty levels, then score, then settle it with port priority!
|
// First check difficulty levels, then score, then settle it with port priority!
|
||||||
if (player->botvars.difficulty < players[i].botvars.difficulty)
|
if (player->botvars.difficulty < players[i].botvars.difficulty)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue