From da55b4b82ae2940b8b73e2b7293ccb8238b19311 Mon Sep 17 00:00:00 2001
From: mazmazz <mar.marcoz@outlook.com>
Date: Sun, 4 Aug 2019 00:15:31 -0400
Subject: [PATCH] Fix 1up intermission jingle not playing

---
 src/p_user.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/p_user.c b/src/p_user.c
index eb34809f47..63c7ee5eed 100644
--- a/src/p_user.c
+++ b/src/p_user.c
@@ -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);
-- 
GitLab