mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
- removed redundant menu initializsation in M_StartControlPanel.
This was a leftover of early development and is no longer needed.
This commit is contained in:
parent
5bb438b817
commit
5e57b738d5
1 changed files with 0 additions and 6 deletions
|
@ -192,16 +192,10 @@ bool M_SetSpecialMenu(FName& menu, int param)
|
|||
|
||||
void M_StartControlPanel(bool makeSound, bool)
|
||||
{
|
||||
static bool created = false;
|
||||
// intro might call this repeatedly
|
||||
if (CurrentMenu != NULL)
|
||||
return;
|
||||
|
||||
if (!created) // Cannot do this earlier.
|
||||
{
|
||||
created = true;
|
||||
M_CreateMenus();
|
||||
}
|
||||
GSnd->SetSfxPaused(true, PAUSESFX_MENU);
|
||||
gi->MenuOpened();
|
||||
if (makeSound && menu_sounds) gi->MenuSound(ActivateSound);
|
||||
|
|
Loading…
Reference in a new issue