diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index b2d953afc..2b7e6092c 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -6022,7 +6022,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 258f01ab1..08f2d3d87 100644 --- a/src/hardware/hw_main.h +++ b/src/hardware/hw_main.h @@ -230,7 +230,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