fix cloud tops palette not applying

This commit is contained in:
Alug committed 2025-04-22 21:52:46 +02:00
1 parent 6437c5a861
commit 8960804f1c
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -3014,7 +3014,7 @@ boolean P_SetupLevel(boolean fromnetsave, boolean reloadinggamestate)
// Reset the palette now all fades have been done
if (rendermode != render_none)
V_ReloadPalette(); // Set the level palette
V_SetPaletteLump(GetPalette()); // Set the level palette
// Print "SPEEDING OFF TO [ZONE] [ACT 1]..."
/*if (rendermode != render_none)
+3
View File
@@ -579,6 +579,9 @@ void V_SetPaletteLump(const char *pal)
{
LoadPalette(pal);
V_SetPalette(0);
#ifdef HASINVERT
R_MakeInvertmap();
#endif
}
static void CV_palette_OnChange(void)