Don't do stuff for dedicated in ST_LoadGraphics

This commit is contained in:
NepDisk 2025-10-19 21:57:44 -04:00
parent 2f746d4307
commit 65cf091573
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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