Play generic intermission music after netreplays

Mostly because I kept cycling to other people after the
top half finished and always got the lose music as a
result lol
This commit is contained in:
fickleheart 2019-02-02 10:54:24 -06:00
parent c407f811af
commit ce59b705a4
2 changed files with 4 additions and 1 deletions

View File

@ -3581,7 +3581,7 @@ static void G_DoCompleted(void)
}
// play some generic music if there's no win/cool/lose music going on (for exitlevel commands)
if (G_RaceGametype() && j == splitscreen+1 && (cv_inttime.value > 0))
if (G_RaceGametype() && ((multiplayer && demoplayback) || j == splitscreen+1) && (cv_inttime.value > 0))
S_ChangeMusicInternal("racent", true);
if (automapactive)

View File

@ -1147,6 +1147,9 @@ boolean P_EndingMusic(player_t *player)
if (!P_IsLocalPlayer(player)) // Only applies to a local player
return false;
if (multiplayer && demoplayback) // Don't play this in multiplayer replays
return false;
// Event - Level Finish
// Check for if this is valid or not
if (splitscreen)