Reduce all bot difficulty when retrying

Especially reasonable now that you have a penalty for retrying.
This commit is contained in:
Sally Coolatta 2023-03-11 03:36:13 -05:00
parent 600063f46b
commit 569b9a7dee

View file

@ -2137,10 +2137,22 @@ void G_Ticker(boolean run)
for (i = 0; i < MAXPLAYERS; i++)
{
if (playeringame[i])
{
if (players[i].bot == true)
{
players[i].botvars.difficulty--;
if (players[i].botvars.difficulty < 1)
{
players[i].botvars.difficulty = 1;
}
}
else
{
K_PlayerLoseLife(&players[i]);
}
}
}
D_MapChange(gamemap, gametype, (cv_kartencore.value == 1), false, 1, false, false);
}