mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Fix the title music being played early
This commit is contained in:
parent
d98aee5a8d
commit
296e974e9d
1 changed files with 4 additions and 6 deletions
|
|
@ -1819,11 +1819,6 @@ static void F_CacheTitleScreen(void)
|
||||||
|
|
||||||
void F_StartTitleScreen(void)
|
void F_StartTitleScreen(void)
|
||||||
{
|
{
|
||||||
if (menupres[MN_MAIN].musname[0])
|
|
||||||
S_ChangeMusic(menupres[MN_MAIN].musname, menupres[MN_MAIN].mustrack, menupres[MN_MAIN].muslooping);
|
|
||||||
else
|
|
||||||
S_ChangeMusicInternal("_title", looptitle);
|
|
||||||
|
|
||||||
if (gamestate != GS_TITLESCREEN && gamestate != GS_WAITINGPLAYERS)
|
if (gamestate != GS_TITLESCREEN && gamestate != GS_WAITINGPLAYERS)
|
||||||
{
|
{
|
||||||
ttuser_count = 0;
|
ttuser_count = 0;
|
||||||
|
|
@ -2027,7 +2022,10 @@ void F_TitleScreenTicker(boolean run)
|
||||||
else if (finalecount == 50)
|
else if (finalecount == 50)
|
||||||
{
|
{
|
||||||
// Now start the music
|
// Now start the music
|
||||||
S_ChangeMusicInternal("titles", looptitle);
|
if (menupres[MN_MAIN].musname[0])
|
||||||
|
S_ChangeMusic(menupres[MN_MAIN].musname, menupres[MN_MAIN].mustrack, menupres[MN_MAIN].muslooping);
|
||||||
|
else
|
||||||
|
S_ChangeMusicInternal("_title", looptitle);
|
||||||
S_StartSound(NULL, sfx_s23c);
|
S_StartSound(NULL, sfx_s23c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue