mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +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];
|
UINT8 buf[2];
|
||||||
|
|
||||||
i = 0;
|
i = MAXPLAYERS;
|
||||||
|
|
||||||
while (numbots > wantedbots && i < MAXPLAYERS)
|
while (numbots > wantedbots && i > 0)
|
||||||
{
|
{
|
||||||
if (playeringame[i] && players[i].bot)
|
if (playeringame[i] && players[i].bot)
|
||||||
{
|
{
|
||||||
|
|
@ -244,7 +244,7 @@ void K_UpdateMatchRaceBots(void)
|
||||||
numbots--;
|
numbots--;
|
||||||
}
|
}
|
||||||
|
|
||||||
i++;
|
i--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue