mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 03:22:35 +00:00
Reverse order bots are removed
This commit is contained in:
parent
5ad6812f17
commit
b8b4d913a8
1 changed files with 3 additions and 3 deletions
|
|
@ -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--;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue