Fix the interaction between starttrack and toggling music off.

git-svn-id: https://svn.eduke32.com/eduke32@6693 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-02-25 01:18:32 +00:00
parent aa94f12666
commit 042c0e9796

View file

@ -186,7 +186,10 @@ void S_MenuSound(void)
static int32_t S_PlayMusic(const char *fn)
{
if (!ud.config.MusicToggle || fn == NULL)
if (!ud.config.MusicToggle)
return 0;
if (fn == NULL)
return 1;
int32_t fp = S_OpenAudio(fn, 0, 1);