mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 03:30:50 +00:00
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:
parent
c407f811af
commit
ce59b705a4
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue