readd hud gfx flushing

now that stuff doesent completely die lmao
This commit is contained in:
Alug committed 2025-04-16 15:57:59 +02:00
1 parent 804d9e2e8e
commit 70f1a6bf48
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -551,8 +551,7 @@ static void HWR_FreePatchCache(boolean freeall)
callback = FreeColormapsCallback;
Z_IterateTags(PU_PATCH, PU_PATCH_ROTATED, callback);
//Z_IterateTags(PU_SPRITE, PU_HUDGFX, callback); // why would we want to free our hudgfx?
Z_IterateTags(PU_SPRITE, PU_SPRITE, callback);
Z_IterateTags(PU_SPRITE, PU_HUDGFX, callback);
}
// free all textures after each level
+1 -1
View File
@@ -3465,7 +3465,7 @@ boolean P_MultiSetupWadFiles(boolean fullsetup)
if (partadd_stage == 0)
{
// Flush and reload HUD graphics
//ST_UnloadGraphics();
ST_UnloadGraphics();
HU_LoadGraphics();
ST_LoadGraphics();
ST_ReloadSkinFaceGraphics();