mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Count the player's skin as used
This commit is contained in:
parent
42419f7bc6
commit
3ae7c11cf1
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ void K_InitGrandPrixBots(void)
|
||||||
UINT8 wantedbots = 0;
|
UINT8 wantedbots = 0;
|
||||||
|
|
||||||
UINT8 numplayers = 0;
|
UINT8 numplayers = 0;
|
||||||
UINT8 competitors[4];
|
UINT8 competitors[MAXSPLITSCREENPLAYERS];
|
||||||
|
|
||||||
boolean skinusable[MAXSKINS];
|
boolean skinusable[MAXSKINS];
|
||||||
UINT8 botskinlist[MAXPLAYERS];
|
UINT8 botskinlist[MAXPLAYERS];
|
||||||
|
|
@ -179,6 +179,7 @@ void K_InitGrandPrixBots(void)
|
||||||
if (numplayers < MAXSPLITSCREENPLAYERS && !players[i].spectator)
|
if (numplayers < MAXSPLITSCREENPLAYERS && !players[i].spectator)
|
||||||
{
|
{
|
||||||
competitors[numplayers] = i;
|
competitors[numplayers] = i;
|
||||||
|
skinusable[players[i].skin] = false;
|
||||||
numplayers++;
|
numplayers++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue