mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Sound menu toggle fix: unnecessary if condition
This commit is contained in:
parent
a7ae059949
commit
aa1ec4d996
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue