- 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:
Randy Heit 2008-05-31 02:18:09 +00:00
commit d657e31a8c
5 changed files with 58 additions and 2 deletions

View file

@ -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