mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Attract: show music credit on return to title screen
This commit is contained in:
parent
326e560329
commit
7a5020470d
1 changed files with 5 additions and 0 deletions
|
|
@ -1131,6 +1131,7 @@ static boolean g_deferredtitle = false;
|
|||
//
|
||||
void D_StartTitle(void)
|
||||
{
|
||||
bool fromAttract = (demo.attract == DEMO_ATTRACT_TITLE);
|
||||
demo.attract = DEMO_ATTRACT_OFF;
|
||||
|
||||
Music_StopAll();
|
||||
|
|
@ -1139,6 +1140,10 @@ void D_StartTitle(void)
|
|||
F_StartTitleScreen();
|
||||
M_ClearMenus(false);
|
||||
g_deferredtitle = false;
|
||||
|
||||
if (fromAttract)
|
||||
S_ShowMusicCredit(); // Show music credit when returning to the title screen
|
||||
|
||||
}
|
||||
|
||||
void D_SetDeferredStartTitle(boolean deferred)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue