From 65cf0915733c5628da79ff06278e91a4f89b6e86 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 19 Oct 2025 21:57:44 -0400 Subject: [PATCH] Don't do stuff for dedicated in ST_LoadGraphics --- src/p_setup.c | 11 ++++------- src/st_stuff.c | 3 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index c5f24bc3e..60a1e4db9 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -9686,13 +9686,10 @@ boolean P_MultiSetupWadFiles(boolean fullsetup) if (partadd_stage == 0) { // Flush and reload HUD graphics - if (!dedicated) - { - //ST_UnloadGraphics(); - HU_LoadGraphics(); - ST_LoadGraphics(); - ST_ReloadSkinFaceGraphics(); - } + //ST_UnloadGraphics(); + HU_LoadGraphics(); + ST_LoadGraphics(); + ST_ReloadSkinFaceGraphics(); if (!partadd_important) partadd_stage = -1; // everything done diff --git a/src/st_stuff.c b/src/st_stuff.c index 15e347691..e7bbc72c3 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -169,6 +169,9 @@ void ST_UnloadGraphics(void) void ST_LoadGraphics(void) { + if (dedicated) + return; + // the original Doom uses 'STF' as base name for all face graphics // Graue 04-08-2004: face/name graphics are now indexed by skins // but load them in R_AddSkins, that gets called