From 694863a8a1dfc06836913367c75bb4cc6011cfe5 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 7 Dec 2019 23:52:40 +0000 Subject: [PATCH] Fix cacheAllSounds() being called before .def parsing... oops! git-svn-id: https://svn.eduke32.com/eduke32@8404 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/game.cpp b/source/duke3d/src/game.cpp index 3a09f1e02..437826802 100644 --- a/source/duke3d/src/game.cpp +++ b/source/duke3d/src/game.cpp @@ -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();