Sound menu toggle fix: unnecessary if condition

This commit is contained in:
mazmazz 2018-09-14 11:25:25 -04:00
parent a7ae059949
commit aa1ec4d996

View file

@ -9473,7 +9473,6 @@ static void M_ToggleDigital(INT32 choice)
{ {
digital_disabled = false; digital_disabled = false;
I_InitMusic(); I_InitMusic();
if (digital_disabled) return;
S_StopMusic(); S_StopMusic();
if (Playing()) if (Playing())
P_RestoreMusic(&players[consoleplayer]); P_RestoreMusic(&players[consoleplayer]);
@ -9541,7 +9540,6 @@ static void M_ToggleMIDI(INT32 choice)
{ {
midi_disabled = false; midi_disabled = false;
I_InitMusic(); I_InitMusic();
if (midi_disabled) return;
if (Playing()) if (Playing())
P_RestoreMusic(&players[consoleplayer]); P_RestoreMusic(&players[consoleplayer]);
else else