mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
parent
fb954490c1
commit
0438dfa770
1 changed files with 2 additions and 7 deletions
|
|
@ -542,9 +542,9 @@ void K_IncreaseBotDifficulty(player_t *bot)
|
|||
|
||||
bot->botvars.diffincrease = 0;
|
||||
|
||||
if (grandprixinfo.masterbots == true)
|
||||
if (bot->botvars.difficulty >= MAXBOTDIFFICULTY)
|
||||
{
|
||||
// Master bot difficulty is not dynamic.
|
||||
// Already at max difficulty, don't need to increase
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -657,11 +657,6 @@ void K_IncreaseBotDifficulty(player_t *bot)
|
|||
// (Think, like, dire E rank in 4th.)
|
||||
// This is a deviation from SalCode™ and should be reexamined if bots get drowsy.
|
||||
}
|
||||
else if (increase > 2)
|
||||
{
|
||||
// Hard cap difficulty increase between rounds
|
||||
increase = 2;
|
||||
}
|
||||
|
||||
bot->botvars.diffincrease = increase;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue