From 4ea094e2b9e87653163b81857d63fd6465db66f7 Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Mon, 17 Jul 2023 22:42:43 +0200 Subject: [PATCH] Reverted a change from galaxy branch, which sometimes didnt unmute music playback after regaining focus of the game Reverted https://git.do.srb2.org/Galactice/Kart-Public/-/commit/8479a7189c6393c6f3e1e6c03066f98aac617e4b --- src/sdl/i_video.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 3713a0a94..d18d6652e 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -637,8 +637,7 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt) // Tell game we got focus back, resume music if necessary window_notinfocus = false; - if (!paused) - S_InitMusicVolume(); + S_InitMusicVolume(); if (cv_gamesounds.value) S_EnableSound();