mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fixed incorrect code flow in menu_NewGameMenu() function.
This commit is contained in:
parent
b97c9d119c
commit
213437deea
1 changed files with 98 additions and 96 deletions
|
@ -1145,21 +1145,22 @@ int menu_NewGameMenu()
|
|||
|
||||
char ch = 0;
|
||||
|
||||
while (KB_KeyWaiting())
|
||||
check_keys:
|
||||
if (KB_KeyWaiting())
|
||||
{
|
||||
HandleAsync();
|
||||
|
||||
ch = KB_GetCh();
|
||||
if (!ch) {
|
||||
if (!ch)
|
||||
{
|
||||
KB_GetCh();
|
||||
continue;
|
||||
}
|
||||
goto check_keys;
|
||||
}
|
||||
|
||||
// handle key input
|
||||
if (ch == asc_Enter)
|
||||
{
|
||||
// loc_39ACA:
|
||||
|
||||
nameList[nSlot][nNameOffset] = 0;
|
||||
|
||||
PlayLocalSound(StaticSound[kSound33], 0);
|
||||
|
@ -1240,6 +1241,8 @@ int menu_NewGameMenu()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// loc_399FD:
|
||||
menu_DoPlasma();
|
||||
|
@ -1264,7 +1267,6 @@ int menu_NewGameMenu()
|
|||
y += 22;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int menu_LoadGameMenu()
|
||||
|
|
Loading…
Reference in a new issue