From 57b2316c42074ce02eccfa2c71e06303fd98adfb Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 29 May 2025 18:59:27 +0200 Subject: [PATCH] didnt mean to change this lel --- src/hardware/hw_main.c | 2 +- src/hardware/hw_main.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index af8a6e160..e25364bee 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -5980,7 +5980,7 @@ static void HWR_DoPostProcessor(player_t *player) // Armageddon Blast Flash! // Could this even be considered postprocessor? - if (player->flashcount && !HWR_PalRenderFlashpal()) + if (!HWR_PalRenderFlashpal() && player->flashcount) { FOutVector v[4]; FSurfaceInfo Surf; diff --git a/src/hardware/hw_main.h b/src/hardware/hw_main.h index 87b1faaf4..6dc0d23a6 100644 --- a/src/hardware/hw_main.h +++ b/src/hardware/hw_main.h @@ -225,7 +225,7 @@ FUNCINLINE static ATTRINLINE boolean HWR_ShouldUsePaletteRendering(void) FUNCINLINE static ATTRINLINE boolean HWR_PalRenderFlashpal(void) { - return (HWR_ShouldUsePaletteRendering() && cv_glflashpal.value); + return (cv_glflashpal.value && HWR_ShouldUsePaletteRendering()); } #endif