Skip to content
Snippets Groups Projects
Commit 261041dc authored by toaster's avatar toaster
Browse files

Resolve #281. (Might have problems with non-SDL interfaces, but definitely...

Resolve #281. (Might have problems with non-SDL interfaces, but definitely good for what we're shipping with.)
parent 1f7e5aa1
No related branches found
No related tags found
No related merge requests found
......@@ -2530,6 +2530,7 @@ void GameSounds_OnChange(void)
if (sound_disabled)
{
sound_disabled = false;
I_StartupSound(); // will return early if initialised
S_InitSfxChannels(cv_soundvolume.value);
S_StartSound(NULL, sfx_strpst);
}
......@@ -2550,6 +2551,7 @@ void GameDigiMusic_OnChange(void)
if (digital_disabled)
{
digital_disabled = false;
I_StartupSound(); // will return early if initialised
I_InitMusic();
S_StopMusic();
if (Playing())
......@@ -2592,6 +2594,7 @@ void GameMIDIMusic_OnChange(void)
if (midi_disabled)
{
midi_disabled = false;
I_StartupSound(); // will return early if initialised
I_InitMusic();
if (Playing())
P_RestoreMusic(&players[consoleplayer]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment