Move SP and MP down if extras aren't unlocked yet.
This commit is contained in:
parent
9608021824
commit
48c454553f
|
@ -488,11 +488,11 @@ static menuitem_t MainMenu[] =
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
secrets = 0,
|
|
||||||
singleplr,
|
singleplr,
|
||||||
multiplr,
|
multiplr,
|
||||||
options,
|
secrets = 2,
|
||||||
addons,
|
addons,
|
||||||
|
options,
|
||||||
quitdoom
|
quitdoom
|
||||||
} main_e;
|
} main_e;
|
||||||
|
|
||||||
|
@ -3436,6 +3436,8 @@ void M_StartControlPanel(void)
|
||||||
if (!Playing())
|
if (!Playing())
|
||||||
{
|
{
|
||||||
// Secret menu!
|
// Secret menu!
|
||||||
|
MainMenu[singleplr].alphaKey = (M_AnySecretUnlocked()) ? 76 : 84;
|
||||||
|
MainMenu[multiplr].alphaKey = (M_AnySecretUnlocked()) ? 84 : 92;
|
||||||
MainMenu[secrets].status = (M_AnySecretUnlocked()) ? (IT_STRING | IT_CALL) : (IT_DISABLED);
|
MainMenu[secrets].status = (M_AnySecretUnlocked()) ? (IT_STRING | IT_CALL) : (IT_DISABLED);
|
||||||
|
|
||||||
currentMenu = &MainDef;
|
currentMenu = &MainDef;
|
||||||
|
|
Loading…
Reference in a new issue