Uncap palette lump palettes & allow flashpal palettes to display during pause

This commit is contained in:
alufolie91 committed 2023-10-20 07:45:00 +02:00
1 parent d380391d80
commit 581b503edf
1 file changed
+1 -5
+1 -5
View File
@@ -239,15 +239,11 @@ void ST_doPaletteStuff(void)
{
INT32 palette;
if (paused || P_AutoPause())
palette = 0;
else if (stplyr && stplyr->flashcount)
if (stplyr && stplyr->flashcount)
palette = stplyr->flashpal;
else
palette = 0;
palette = min(max(palette, 0), 13);
#ifdef HWRENDER
if ((rendermode == render_opengl && !cv_grpaletteshader.value) || (rendermode == render_opengl && cv_grpaletteshader.value && !cv_grflashpal.value))
palette = 0; // No flashpals here in OpenGL