mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-07 03:41:25 +00:00
Slightly refactor M_StartControlPanel
In anticipation of attempt to incorporate into CL_ABORT process
This commit is contained in:
parent
7f2d28ea33
commit
36f8ce8f78
1 changed files with 5 additions and 5 deletions
|
|
@ -925,11 +925,6 @@ void M_StartControlPanel(void)
|
|||
menucmd[i].delay = MENUDELAYTIME;
|
||||
}
|
||||
|
||||
// No instantly skipping the titlescreen.
|
||||
// (We can change this timer later when extra animation is added.)
|
||||
if (gamestate == GS_TITLESCREEN && finalecount < 1)
|
||||
return;
|
||||
|
||||
// intro might call this repeatedly
|
||||
if (menuactive)
|
||||
{
|
||||
|
|
@ -939,6 +934,11 @@ void M_StartControlPanel(void)
|
|||
|
||||
if (gamestate == GS_TITLESCREEN) // Set up menu state
|
||||
{
|
||||
// No instantly skipping the titlescreen.
|
||||
// (We can change this timer later when extra animation is added.)
|
||||
if (finalecount < 1)
|
||||
return;
|
||||
|
||||
G_SetGamestate(GS_MENU);
|
||||
|
||||
gameaction = ga_nothing;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue