mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
Fix parental lock
git-svn-id: https://svn.eduke32.com/eduke32@5653 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2b357b58f1
commit
9de3befbba
1 changed files with 3 additions and 6 deletions
|
@ -3241,19 +3241,16 @@ static void M_MenuTextFormSubmit(char *input)
|
|||
case MENU_ADULTPASSWORD:
|
||||
if (Bstrlen(input) && (ud.pwlockout[0] == 0 || ud.lockout == 0))
|
||||
Bstrcpy(&ud.pwlockout[0], input);
|
||||
#if 0
|
||||
else if (Bstrcmp(input, &ud.pwlockout[0]) == 0)
|
||||
{
|
||||
#if 0
|
||||
for (x=0; x<g_numAnimWalls; x++)
|
||||
if (wall[animwall[x].wallnum].picnum != W_SCREENBREAK &&
|
||||
for (int x=0; x<g_numAnimWalls; x++)
|
||||
if ((unsigned) animwall[x].wallnum < (unsigned)numwalls && wall[animwall[x].wallnum].picnum != W_SCREENBREAK &&
|
||||
wall[animwall[x].wallnum].picnum != W_SCREENBREAK+1 &&
|
||||
wall[animwall[x].wallnum].picnum != W_SCREENBREAK+2)
|
||||
if (wall[animwall[x].wallnum].extra >= 0)
|
||||
wall[animwall[x].wallnum].picnum = wall[animwall[x].wallnum].extra;
|
||||
#endif
|
||||
ud.lockout = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
S_PlaySound(PISTOL_BODYHIT);
|
||||
M_ChangeMenu(MENU_GAMESETUP);
|
||||
|
|
Loading…
Reference in a new issue