mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
old menus: Fix parental lock password entry.
git-svn-id: https://svn.eduke32.com/eduke32@4467 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8f12e0dca0
commit
9e717525b6
1 changed files with 8 additions and 8 deletions
|
@ -1523,14 +1523,6 @@ void M_DisplayMenus(void)
|
||||||
margin = 60;
|
margin = 60;
|
||||||
M_DrawTopBar("Adult Mode");
|
M_DrawTopBar("Adult Mode");
|
||||||
|
|
||||||
x = M_Probe(60,50+16,16,2);
|
|
||||||
if (x == -1)
|
|
||||||
{
|
|
||||||
M_ChangeMenu(MENU_GAMESETUP);
|
|
||||||
probey = 0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
menutext(margin,50+16,MENUHIGHLIGHT(0),0,"Adult Mode");
|
menutext(margin,50+16,MENUHIGHLIGHT(0),0,"Adult Mode");
|
||||||
menutext(margin,50+16+16,MENUHIGHLIGHT(1),0,"Enter Password");
|
menutext(margin,50+16+16,MENUHIGHLIGHT(1),0,"Enter Password");
|
||||||
|
|
||||||
|
@ -1564,6 +1556,14 @@ void M_DisplayMenus(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
x = M_Probe(60,50+16,16,2);
|
||||||
|
if (x == -1)
|
||||||
|
{
|
||||||
|
M_ChangeMenu(MENU_GAMESETUP);
|
||||||
|
probey = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (x == 0)
|
if (x == 0)
|
||||||
{
|
{
|
||||||
if (ud.lockout == 1)
|
if (ud.lockout == 1)
|
||||||
|
|
Loading…
Reference in a new issue