mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
aa94f12666
commit
042c0e9796
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue