Initialize sound before music

git-svn-id: https://svn.eduke32.com/eduke32@8255 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-10-24 05:46:59 +00:00 committed by Christoph Oelckers
parent 3ed87f449e
commit 89cd122d14
4 changed files with 4 additions and 4 deletions

View file

@ -6611,8 +6611,8 @@ int app_main(int argc, const char * const*argv)
} }
videoSetPalette(ud.brightness>>2, myplayer.palette, 0); videoSetPalette(ud.brightness>>2, myplayer.palette, 0);
S_MusicStartup();
S_SoundStartup(); S_SoundStartup();
S_MusicStartup();
} }
// check if the minifont will support lowercase letters (3136-3161) // check if the minifont will support lowercase letters (3136-3161)

View file

@ -3223,8 +3223,8 @@ static void Menu_EntryLinkActivate(MenuEntry_t *entry)
S_SoundShutdown(); S_SoundShutdown();
S_MusicShutdown(); S_MusicShutdown();
S_MusicStartup();
S_SoundStartup(); S_SoundStartup();
S_MusicStartup();
FX_StopAllSounds(); FX_StopAllSounds();
S_ClearSoundLocks(); S_ClearSoundLocks();

View file

@ -374,8 +374,8 @@ static int osdcmd_restartsound(osdcmdptr_t UNUSED(parm))
S_SoundShutdown(); S_SoundShutdown();
S_MusicShutdown(); S_MusicShutdown();
S_MusicStartup();
S_SoundStartup(); S_SoundStartup();
S_MusicStartup();
FX_StopAllSounds(); FX_StopAllSounds();
S_ClearSoundLocks(); S_ClearSoundLocks();

View file

@ -331,8 +331,8 @@ void main()
CONTROL_Startup(1, &GetTime, 1500); CONTROL_Startup(1, &GetTime, 1500);
SetupGameButtons(); SetupGameButtons();
MusicStartup();
SoundStartup(); SoundStartup();
MusicStartup();
RTS_Init(RTSName); RTS_Init(RTSName);
// load in some test data // load in some test data