mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 21:20:54 +00:00
Move HU_LoadGraphics after startuppwads are loaded
This is needed for graphics replacements to take effect.
This commit is contained in:
parent
304e4bb1f9
commit
8a8e0ceda2
2 changed files with 3 additions and 4 deletions
|
@ -1383,8 +1383,6 @@ void D_SRB2Main(void)
|
||||||
// setup loading screen
|
// setup loading screen
|
||||||
SCR_Startup();
|
SCR_Startup();
|
||||||
|
|
||||||
// we need the font of the console
|
|
||||||
CONS_Printf("HU_Init(): Setting up heads up display.\n");
|
|
||||||
HU_Init();
|
HU_Init();
|
||||||
|
|
||||||
CON_Init();
|
CON_Init();
|
||||||
|
@ -1400,6 +1398,9 @@ void D_SRB2Main(void)
|
||||||
W_InitMultipleFiles(startuppwads);
|
W_InitMultipleFiles(startuppwads);
|
||||||
D_CleanFile(startuppwads);
|
D_CleanFile(startuppwads);
|
||||||
|
|
||||||
|
CONS_Printf("HU_LoadGraphics()...\n");
|
||||||
|
HU_LoadGraphics();
|
||||||
|
|
||||||
//--------------------------------------------------------- CONFIG.CFG
|
//--------------------------------------------------------- CONFIG.CFG
|
||||||
M_FirstLoadConfig(); // WARNING : this do a "COM_BufExecute()"
|
M_FirstLoadConfig(); // WARNING : this do a "COM_BufExecute()"
|
||||||
|
|
||||||
|
|
|
@ -330,8 +330,6 @@ void HU_Init(void)
|
||||||
|
|
||||||
// set shift translation table
|
// set shift translation table
|
||||||
shiftxform = english_shiftxform;
|
shiftxform = english_shiftxform;
|
||||||
|
|
||||||
HU_LoadGraphics();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void HU_Stop(void)
|
static inline void HU_Stop(void)
|
||||||
|
|
Loading…
Reference in a new issue