mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Move SP and MP down if extras aren't unlocked yet.
This commit is contained in:
parent
9608021824
commit
48c454553f
1 changed files with 4 additions and 2 deletions
|
@ -488,11 +488,11 @@ static menuitem_t MainMenu[] =
|
|||
|
||||
typedef enum
|
||||
{
|
||||
secrets = 0,
|
||||
singleplr,
|
||||
multiplr,
|
||||
options,
|
||||
secrets = 2,
|
||||
addons,
|
||||
options,
|
||||
quitdoom
|
||||
} main_e;
|
||||
|
||||
|
@ -3436,6 +3436,8 @@ void M_StartControlPanel(void)
|
|||
if (!Playing())
|
||||
{
|
||||
// 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);
|
||||
|
||||
currentMenu = &MainDef;
|
||||
|
|
Loading…
Reference in a new issue