mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 09:46:40 +00:00
Don't display empty profiles on player setup
This commit is contained in:
parent
8920ec8e6a
commit
b9a494551e
2 changed files with 2 additions and 2 deletions
|
|
@ -936,7 +936,7 @@ static void M_DrawCharSelectPreview(UINT8 num)
|
|||
UINT8 i = 0;
|
||||
INT16 px = x+12;
|
||||
INT16 py = y+48 - p->profilen*12;
|
||||
UINT8 maxp = MAXPROFILES+1;
|
||||
UINT8 maxp = PR_GetNumProfiles();
|
||||
|
||||
for (i=0; i < maxp; i++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2231,7 +2231,7 @@ static void M_SetupProfileGridPos(setup_player_t *p)
|
|||
|
||||
static boolean M_HandleCSelectProfile(setup_player_t *p, UINT8 num)
|
||||
{
|
||||
const UINT8 maxp = MAXPROFILES;
|
||||
const UINT8 maxp = PR_GetNumProfiles() -1;
|
||||
UINT8 i;
|
||||
|
||||
if (menucmd[num].dpad_ud > 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue