From 8a8e0ceda21e9a15bfb309f35da18ca78fb64df5 Mon Sep 17 00:00:00 2001 From: James R Date: Fri, 2 Oct 2020 11:54:58 -0700 Subject: [PATCH] Move HU_LoadGraphics after startuppwads are loaded This is needed for graphics replacements to take effect. --- src/d_main.c | 5 +++-- src/hu_stuff.c | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index 83a863463..d1a414018 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -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()" diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 1a184ea57..72fb9272d 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -330,8 +330,6 @@ void HU_Init(void) // set shift translation table shiftxform = english_shiftxform; - - HU_LoadGraphics(); } static inline void HU_Stop(void)