mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Disable profile setup outside of GS_MENU
This commit is contained in:
parent
33639d7a4c
commit
8920ec8e6a
2 changed files with 8 additions and 3 deletions
|
|
@ -211,7 +211,7 @@ extern menu_t OPTIONS_MainDef;
|
||||||
// We'll need this since we're gonna have to dynamically enable and disable options depending on which state we're in.
|
// We'll need this since we're gonna have to dynamically enable and disable options depending on which state we're in.
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
mopt_controls = 0,
|
mopt_profiles = 0,
|
||||||
mopt_video,
|
mopt_video,
|
||||||
mopt_sound,
|
mopt_sound,
|
||||||
mopt_hud,
|
mopt_hud,
|
||||||
|
|
|
||||||
|
|
@ -3414,6 +3414,7 @@ void M_InitOptions(INT32 choice)
|
||||||
{
|
{
|
||||||
(void)choice;
|
(void)choice;
|
||||||
|
|
||||||
|
OPTIONS_MainDef.menuitems[mopt_profiles].status = IT_STRING | IT_SUBMENU;
|
||||||
OPTIONS_MainDef.menuitems[mopt_gameplay].status = IT_STRING | IT_SUBMENU;
|
OPTIONS_MainDef.menuitems[mopt_gameplay].status = IT_STRING | IT_SUBMENU;
|
||||||
OPTIONS_MainDef.menuitems[mopt_server].status = IT_STRING | IT_SUBMENU;
|
OPTIONS_MainDef.menuitems[mopt_server].status = IT_STRING | IT_SUBMENU;
|
||||||
|
|
||||||
|
|
@ -3424,6 +3425,10 @@ void M_InitOptions(INT32 choice)
|
||||||
OPTIONS_MainDef.menuitems[mopt_server].status = IT_STRING | IT_TRANSTEXT;
|
OPTIONS_MainDef.menuitems[mopt_server].status = IT_STRING | IT_TRANSTEXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// disable profiles outside of gs_menu altogether.
|
||||||
|
if (gamestate != GS_MENU)
|
||||||
|
OPTIONS_MainDef.menuitems[mopt_profiles].status = IT_STRING | IT_TRANSTEXT;
|
||||||
|
|
||||||
optionsmenu.ticker = 0;
|
optionsmenu.ticker = 0;
|
||||||
optionsmenu.offset = 0;
|
optionsmenu.offset = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue