mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Menus: When toggling Music in the Sound menu, respect the LOGO_PLAYMUSIC flag in LOGO_FLAGS for the main menu.
DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5164 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c47ebac6c1
commit
60106f1e37
1 changed files with 2 additions and 1 deletions
|
@ -163,8 +163,9 @@ void S_RestartMusic(void)
|
|||
if (MapInfo[g_musicIndex].musicfn != NULL)
|
||||
S_PlayMusic(MapInfo[g_musicIndex].musicfn);
|
||||
}
|
||||
else if (MapInfo[MUS_INTRO].musicfn != 0)
|
||||
else if (MapInfo[MUS_INTRO].musicfn != 0 && (G_GetLogoFlags() & LOGO_PLAYMUSIC))
|
||||
{
|
||||
g_musicIndex = MUS_INTRO;
|
||||
S_PlayMusic(MapInfo[MUS_INTRO].musicfn);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue