Fix 1up intermission jingle not playing

This commit is contained in:
mazmazz 2019-08-04 00:15:31 -04:00
parent 6ecc062c6a
commit da55b4b82a

View file

@ -1443,7 +1443,8 @@ void P_PlayJingle(player_t *player, jingletype_t jingletype)
//
void P_PlayJingleMusic(player_t *player, const char *musname, UINT16 musflags, boolean looping, UINT16 status)
{
if (!P_IsLocalPlayer(player))
// If gamestate != GS_LEVEL, always play the jingle (1-up intermission)
if (gamestate == GS_LEVEL && !P_IsLocalPlayer(player))
return;
S_RetainMusic(musname, musflags, looping, 0, status);