mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-11 18:42:46 +00:00
Hide Tutorial menu option if no tutorialmap
This commit is contained in:
parent
acbbe3daf8
commit
d406809ee8
1 changed files with 3 additions and 1 deletions
|
|
@ -732,7 +732,7 @@ static menuitem_t SR_EmblemHintMenu[] =
|
||||||
// Single Player Main
|
// Single Player Main
|
||||||
static menuitem_t SP_MainMenu[] =
|
static menuitem_t SP_MainMenu[] =
|
||||||
{
|
{
|
||||||
{IT_STRING, NULL, "Tutorial", M_StartTutorial, 84},
|
{IT_CALL | IT_STRING, NULL, "Tutorial", M_StartTutorial, 84},
|
||||||
{IT_CALL | IT_STRING, NULL, "Start Game", M_LoadGame, 92},
|
{IT_CALL | IT_STRING, NULL, "Start Game", M_LoadGame, 92},
|
||||||
{IT_SECRET, NULL, "Record Attack", M_TimeAttack, 100},
|
{IT_SECRET, NULL, "Record Attack", M_TimeAttack, 100},
|
||||||
{IT_SECRET, NULL, "NiGHTS Mode", M_NightsAttack, 108},
|
{IT_SECRET, NULL, "NiGHTS Mode", M_NightsAttack, 108},
|
||||||
|
|
@ -6107,6 +6107,8 @@ 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;
|
||||||
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;
|
||||||
SP_MainMenu[spnightsmode].status =
|
SP_MainMenu[spnightsmode].status =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue