Commit 235c6cbf by Sal

Merge branch 'fix-pause-refocus-mute' into 'master'

Fix pausing then refocusing the window causing the music to stay muted See merge request !244
parents 6ed14a8d 6533a728
......@@ -624,8 +624,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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment