From 581b503edf7a48239ad8aa6995dd5b179bcaabc9 Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Fri, 20 Oct 2023 07:45:00 +0200 Subject: [PATCH] Uncap palette lump palettes & allow flashpal palettes to display during pause --- src/st_stuff.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/st_stuff.c b/src/st_stuff.c index 98272c01c..9bc182d17 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -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