mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 23:42:07 +00:00
Hide record/NiGHTS attack if there are no available maps for them.
This commit is contained in:
parent
331e906548
commit
f2721604fc
1 changed files with 12 additions and 6 deletions
18
src/m_menu.c
18
src/m_menu.c
|
|
@ -7990,12 +7990,18 @@ static void M_CustomLevelSelect(INT32 choice)
|
||||||
static void M_SinglePlayerMenu(INT32 choice)
|
static void M_SinglePlayerMenu(INT32 choice)
|
||||||
{
|
{
|
||||||
(void)choice;
|
(void)choice;
|
||||||
SP_MainMenu[sptutorial].status =
|
|
||||||
tutorialmap ? IT_CALL|IT_STRING : IT_NOTHING|IT_DISABLED;
|
if (M_GametypeHasLevels(LLM_RECORDATTACK))
|
||||||
SP_MainMenu[sprecordattack].status =
|
SP_MainMenu[sprecordattack].status = (M_SecretUnlocked(SECRET_RECORDATTACK)) ? IT_CALL|IT_STRING : IT_SECRET;
|
||||||
(M_SecretUnlocked(SECRET_RECORDATTACK)) ? IT_CALL|IT_STRING : IT_SECRET;
|
else
|
||||||
SP_MainMenu[spnightsmode].status =
|
SP_MainMenu[sprecordattack].status = IT_NOTHING|IT_DISABLED;
|
||||||
(M_SecretUnlocked(SECRET_NIGHTSMODE)) ? IT_CALL|IT_STRING : IT_SECRET;
|
|
||||||
|
if (M_GametypeHasLevels(LLM_NIGHTSATTACK))
|
||||||
|
SP_MainMenu[spnightsmode].status = (M_SecretUnlocked(SECRET_NIGHTSMODE)) ? IT_CALL|IT_STRING : IT_SECRET;
|
||||||
|
else
|
||||||
|
SP_MainMenu[spnightsmode].status = IT_NOTHING|IT_DISABLED;
|
||||||
|
|
||||||
|
SP_MainMenu[sptutorial].status = tutorialmap ? IT_CALL|IT_STRING : IT_NOTHING|IT_DISABLED;
|
||||||
|
|
||||||
M_SetupNextMenu(&SP_MainDef);
|
M_SetupNextMenu(&SP_MainDef);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue