diff --git a/src/d_main.cpp b/src/d_main.cpp index 56132ccb7..9dc271e90 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -3070,6 +3070,9 @@ static int D_InitGame(const FIWADInfo* iwad_info, TArray& allwads, TArr D_GrabCVarDefaults(); //parse DEFCVARS InitPalette(); + if (!batchrun) Printf("S_Init: Setting up sound.\n"); + S_Init(); + int max_progress = TexMan.GuesstimateNumTextures(); int per_shader_progress = 0;//screen->GetShaderCount()? (max_progress / 10 / screen->GetShaderCount()) : 0; bool nostartscreen = batchrun || restart || Args->CheckParm("-join") || Args->CheckParm("-host") || Args->CheckParm("-norun"); @@ -3139,9 +3142,6 @@ static int D_InitGame(const FIWADInfo* iwad_info, TArray& allwads, TArr compatmode = (int)strtoll(compatmodeval, nullptr, 10); } - if (!batchrun) Printf ("S_Init: Setting up sound.\n"); - S_Init (); - if (!batchrun) Printf ("ST_Init: Init startup screen.\n"); if (!restart) {