mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 05:21:16 +00:00
Fixed music unpausing when alt-tabbing back.
This commit is contained in:
parent
04e6eba9e0
commit
d789676b26
1 changed files with 2 additions and 1 deletions
|
@ -1826,7 +1826,8 @@ void S_SetSoundPaused(int state)
|
|||
|
||||
if ((state || i_soundinbackground) && !pauseext)
|
||||
{
|
||||
S_ResumeSound(true);
|
||||
if (!paused)
|
||||
S_ResumeSound(true);
|
||||
if (GSnd != nullptr)
|
||||
{
|
||||
GSnd->SetInactive(SoundRenderer::INACTIVE_Active);
|
||||
|
|
Loading…
Reference in a new issue