Skip to content

Commit

Permalink
jak3: fix music not pausing (#3783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hat-Kid authored Nov 27, 2024
1 parent f6c55eb commit 7848ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/overlord/jak3/iso.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7848ba0

Please sign in to comment.