mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Resume sounds on unpausing after a window re-focus
This commit is contained in:
parent
1975a9b885
commit
70f40d54cb
1 changed files with 4 additions and 4 deletions
|
@ -615,12 +615,12 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt)
|
|||
{
|
||||
// Tell game we got focus back, resume music if necessary
|
||||
window_notinfocus = false;
|
||||
|
||||
if (!paused)
|
||||
{
|
||||
I_ResumeSong(); //resume it
|
||||
if (cv_gamesounds.value)
|
||||
S_EnableSound();
|
||||
}
|
||||
|
||||
if (cv_gamesounds.value)
|
||||
S_EnableSound();
|
||||
|
||||
if (!firsttimeonmouse)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue