Move HU_LoadGraphics after startuppwads are loaded

This is needed for graphics replacements to take effect.
This commit is contained in:
James R 2020-10-02 11:54:58 -07:00
parent 304e4bb1f9
commit 8a8e0ceda2
2 changed files with 3 additions and 4 deletions

View file

@ -1383,8 +1383,6 @@ void D_SRB2Main(void)
// setup loading screen
SCR_Startup();
// we need the font of the console
CONS_Printf("HU_Init(): Setting up heads up display.\n");
HU_Init();
CON_Init();
@ -1400,6 +1398,9 @@ void D_SRB2Main(void)
W_InitMultipleFiles(startuppwads);
D_CleanFile(startuppwads);
CONS_Printf("HU_LoadGraphics()...\n");
HU_LoadGraphics();
//--------------------------------------------------------- CONFIG.CFG
M_FirstLoadConfig(); // WARNING : this do a "COM_BufExecute()"

View file

@ -330,8 +330,6 @@ void HU_Init(void)
// set shift translation table
shiftxform = english_shiftxform;
HU_LoadGraphics();
}
static inline void HU_Stop(void)