mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
S_AttemptToRestoreMusic: Handle both GS_INTERMISSION and musiccountdown (via FALLTHRU)
This commit is contained in:
parent
6882ea7671
commit
6935bf4754
1 changed files with 8 additions and 1 deletions
|
|
@ -1363,7 +1363,14 @@ static void S_AttemptToRestoreMusic(void)
|
|||
switch (gamestate)
|
||||
{
|
||||
case GS_LEVEL:
|
||||
P_RestoreMusic(&players[consoleplayer]);
|
||||
if (musiccountdown != 1)
|
||||
{
|
||||
P_RestoreMusic(&players[consoleplayer]);
|
||||
break;
|
||||
}
|
||||
// FALLTHRU
|
||||
case GS_INTERMISSION:
|
||||
S_ChangeMusicInternal("racent", true);
|
||||
break;
|
||||
case GS_TITLESCREEN:
|
||||
S_ChangeMusicInternal("_title", looptitle);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue