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,8 +1363,15 @@ static void S_AttemptToRestoreMusic(void)
|
||||||
switch (gamestate)
|
switch (gamestate)
|
||||||
{
|
{
|
||||||
case GS_LEVEL:
|
case GS_LEVEL:
|
||||||
|
if (musiccountdown != 1)
|
||||||
|
{
|
||||||
P_RestoreMusic(&players[consoleplayer]);
|
P_RestoreMusic(&players[consoleplayer]);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
// FALLTHRU
|
||||||
|
case GS_INTERMISSION:
|
||||||
|
S_ChangeMusicInternal("racent", true);
|
||||||
|
break;
|
||||||
case GS_TITLESCREEN:
|
case GS_TITLESCREEN:
|
||||||
S_ChangeMusicInternal("_title", looptitle);
|
S_ChangeMusicInternal("_title", looptitle);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue