Fixes issue where sounds weren't pausing when pausing the game

git-svn-id: https://svn.eduke32.com/eduke32@5934 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-11-15 21:55:09 +00:00
parent 0bdbc463c0
commit fc2b9118e4

View file

@ -1793,6 +1793,7 @@ int G_EnterLevel(int gameMode)
if (g_networkMode != NET_DEDICATED_SERVER) if (g_networkMode != NET_DEDICATED_SERVER)
{ {
S_PauseSounds(0);
FX_StopAllSounds(); FX_StopAllSounds();
S_ClearSoundLocks(); S_ClearSoundLocks();
FX_SetReverb(0); FX_SetReverb(0);