- Fixed: Deactivating the game no longer allows reverb effects to continue
playing while the sound is paused. SVN r1005 (trunk)
This commit is contained in:
parent
0395b26d23
commit
d657e31a8c
5 changed files with 58 additions and 2 deletions
|
|
@ -1529,7 +1529,10 @@ static void SetSoundPaused (int state)
|
|||
{
|
||||
if (paused <= 0)
|
||||
{
|
||||
S_ResumeSound ();
|
||||
if (GSnd != NULL)
|
||||
{
|
||||
GSnd->SetInactive(false);
|
||||
}
|
||||
if (!netgame
|
||||
#ifdef _DEBUG
|
||||
&& !demoplayback
|
||||
|
|
@ -1544,7 +1547,10 @@ static void SetSoundPaused (int state)
|
|||
{
|
||||
if (paused == 0)
|
||||
{
|
||||
S_PauseSound (false);
|
||||
if (GSnd != NULL)
|
||||
{
|
||||
GSnd->SetInactive(true);
|
||||
}
|
||||
if (!netgame
|
||||
#ifdef _DEBUG
|
||||
&& !demoplayback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue