mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Don't init the sound system on dedicated servers
This commit is contained in:
parent
82f2f2f2f9
commit
d921f26e54
1 changed files with 8 additions and 2 deletions
|
@ -1224,6 +1224,12 @@ void D_SRB2Main(void)
|
|||
R_Init();
|
||||
|
||||
// setting up sound
|
||||
if (dedicated)
|
||||
{
|
||||
nosound = true;
|
||||
nomidimusic = nodigimusic = true;
|
||||
}
|
||||
else
|
||||
CONS_Printf("S_Init(): Setting up sound.\n");
|
||||
if (M_CheckParm("-nosound"))
|
||||
nosound = true;
|
||||
|
|
Loading…
Reference in a new issue