Reverse order bots are removed

This commit is contained in:
Sally Coolatta 2020-05-28 13:44:53 -04:00
parent 5ad6812f17
commit b8b4d913a8

View file

@ -231,9 +231,9 @@ void K_UpdateMatchRaceBots(void)
{
UINT8 buf[2];
i = 0;
i = MAXPLAYERS;
while (numbots > wantedbots && i < MAXPLAYERS)
while (numbots > wantedbots && i > 0)
{
if (playeringame[i] && players[i].bot)
{
@ -244,7 +244,7 @@ void K_UpdateMatchRaceBots(void)
numbots--;
}
i++;
i--;
}
}