mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 05:41:02 +00:00
Removed some redundant checks
This commit is contained in:
parent
d921f26e54
commit
36d1259ceb
1 changed files with 0 additions and 9 deletions
|
@ -1180,12 +1180,6 @@ void I_StartupSound(void)
|
||||||
audio.callback = I_UpdateStream;
|
audio.callback = I_UpdateStream;
|
||||||
audio.userdata = &localdata;
|
audio.userdata = &localdata;
|
||||||
|
|
||||||
if (dedicated)
|
|
||||||
{
|
|
||||||
nosound = nomidimusic = nodigimusic = true;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Configure sound device
|
// Configure sound device
|
||||||
CONS_Printf("I_StartupSound:\n");
|
CONS_Printf("I_StartupSound:\n");
|
||||||
|
|
||||||
|
@ -1481,9 +1475,6 @@ void I_InitMusic(void)
|
||||||
I_AddExitFunc(I_ShutdownGMEMusic);
|
I_AddExitFunc(I_ShutdownGMEMusic);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((nomidimusic && nodigimusic) || dedicated)
|
|
||||||
return;
|
|
||||||
|
|
||||||
#ifdef HAVE_MIXER
|
#ifdef HAVE_MIXER
|
||||||
MIX_VERSION(&MIXcompiled)
|
MIX_VERSION(&MIXcompiled)
|
||||||
MIXlinked = Mix_Linked_Version();
|
MIXlinked = Mix_Linked_Version();
|
||||||
|
|
Loading…
Reference in a new issue