mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix cacheAllSounds() being called before .def parsing... oops!
git-svn-id: https://svn.eduke32.com/eduke32@8404 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f5e3b4bb5a
commit
694863a8a1
1 changed files with 2 additions and 2 deletions
|
@ -5705,8 +5705,6 @@ static void G_Startup(void)
|
|||
if (TileFiles.artLoadFiles("tiles%03i.art") < 0)
|
||||
G_GameExit("Failed loading art.");
|
||||
|
||||
cacheAllSounds();
|
||||
|
||||
// Make the fullscreen nuke logo background non-fullbright. Has to be
|
||||
// after dynamic tile remapping (from C_Compile) and loading tiles.
|
||||
picanm[LOADSCREEN].sf |= PICANM_NOFULLBRIGHT_BIT;
|
||||
|
@ -5951,6 +5949,8 @@ int GameInterface::app_main()
|
|||
|
||||
userConfig.AddDefs.reset();
|
||||
|
||||
cacheAllSounds();
|
||||
|
||||
if (enginePostInit())
|
||||
G_FatalEngineError();
|
||||
|
||||
|
|
Loading…
Reference in a new issue