mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
M_CupSelectHandler: Fix data types
This commit is contained in:
parent
b5be97cbfc
commit
07f7be03a1
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ void M_CupSelectHandler(INT32 choice)
|
||||||
|
|
||||||
if (M_MenuConfirmPressed(pid) /*|| M_MenuButtonPressed(pid, MBT_START)*/)
|
if (M_MenuConfirmPressed(pid) /*|| M_MenuButtonPressed(pid, MBT_START)*/)
|
||||||
{
|
{
|
||||||
INT16 count;
|
UINT16 count;
|
||||||
cupheader_t *newcup = cupgrid.builtgrid[CUPMENU_CURSORID];
|
cupheader_t *newcup = cupgrid.builtgrid[CUPMENU_CURSORID];
|
||||||
cupheader_t *oldcup = levellist.levelsearch.cup;
|
cupheader_t *oldcup = levellist.levelsearch.cup;
|
||||||
|
|
||||||
|
|
@ -94,7 +94,7 @@ void M_CupSelectHandler(INT32 choice)
|
||||||
count = M_CountLevelsToShowInList(&levellist.levelsearch);
|
count = M_CountLevelsToShowInList(&levellist.levelsearch);
|
||||||
|
|
||||||
if ((!newcup)
|
if ((!newcup)
|
||||||
|| (count <= 0)
|
|| (count == 0)
|
||||||
|| (cupgrid.grandprix == true && newcup->cachedlevels[0] == NEXTMAP_INVALID))
|
|| (cupgrid.grandprix == true && newcup->cachedlevels[0] == NEXTMAP_INVALID))
|
||||||
{
|
{
|
||||||
S_StartSound(NULL, sfx_s3kb2);
|
S_StartSound(NULL, sfx_s3kb2);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue