mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: sound must be initialized before the start screen.
This commit is contained in:
parent
c11729c2bb
commit
b615019715
1 changed files with 3 additions and 3 deletions
|
@ -3070,6 +3070,9 @@ static int D_InitGame(const FIWADInfo* iwad_info, TArray<FString>& 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<FString>& 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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue