From 7848ba05b8f1386d9040b485d3d2677a23950b33 Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:46:41 +0100 Subject: [PATCH] jak3: fix music not pausing (#3783) --- game/overlord/jak3/iso.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/overlord/jak3/iso.cpp b/game/overlord/jak3/iso.cpp index e9aacb4fa51..92129036c46 100644 --- a/game/overlord/jak3/iso.cpp +++ b/game/overlord/jak3/iso.cpp @@ -733,7 +733,7 @@ void ProcessMusic() { // handle pausing request. if (!g_bMusicIsPaused && g_bMusicPause) { cmd = FindMusicStreamName(g_szCurrentMusicName); - if (cmd && cmd->id & !cmd->flags.stop) { + if (cmd && cmd->id && !cmd->flags.stop) { PauseVAG(cmd); } g_bMusicIsPaused = true;