SW: Fix playing track 0 when entering the sound settings

git-svn-id: https://svn.eduke32.com/eduke32@8294 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	source/sw/src/menus.cpp
This commit is contained in:
hendricks266 2019-11-26 08:24:02 +00:00 committed by Christoph Oelckers
parent 0dbf3bbb1e
commit 41194f99f9

View file

@ -2892,12 +2892,9 @@ MNU_JoystickCheck(MenuItem *item)
// This is only called when Enter is pressed
static SWBOOL
MNU_TryMusicInit(void)
{
if (PlaySong(0, RedBookSong[Level], TRUE, FALSE))
{
if (currentmenu->cursor == 0)
MNU_MusicCheck(&currentmenu->items[currentmenu->cursor+1]);
}
return TRUE;
}