mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-12 23:54:17 +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)
|
if ((state || i_soundinbackground) && !pauseext)
|
||||||
{
|
{
|
||||||
S_ResumeSound(true);
|
if (!paused)
|
||||||
|
S_ResumeSound(true);
|
||||||
if (GSnd != nullptr)
|
if (GSnd != nullptr)
|
||||||
{
|
{
|
||||||
GSnd->SetInactive(SoundRenderer::INACTIVE_Active);
|
GSnd->SetInactive(SoundRenderer::INACTIVE_Active);
|
||||||
|
|
Loading…
Reference in a new issue