mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Fix crash when trying to queue cup while highlighting an empty square.
This commit is contained in:
parent
add76b17aa
commit
ea8acf33aa
1 changed files with 1 additions and 1 deletions
|
|
@ -525,7 +525,7 @@ void M_CupSelectHandler(INT32 choice)
|
||||||
{
|
{
|
||||||
M_SetMenuDelay(pid);
|
M_SetMenuDelay(pid);
|
||||||
|
|
||||||
if (cupgrid.builtgrid[CUPMENU_CURSORID] == &dummy_lostandfound)
|
if ((cupgrid.builtgrid[CUPMENU_CURSORID] == &dummy_lostandfound) || (cupgrid.builtgrid[CUPMENU_CURSORID] == NULL))
|
||||||
S_StartSound(NULL, sfx_gshe7);
|
S_StartSound(NULL, sfx_gshe7);
|
||||||
|
|
||||||
else if (!M_IsCupQueueable(cupgrid.builtgrid[CUPMENU_CURSORID]))
|
else if (!M_IsCupQueueable(cupgrid.builtgrid[CUPMENU_CURSORID]))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue