From 5c8a1b8fb165a5d218f33872a3d76110bc53f051 Mon Sep 17 00:00:00 2001 From: FreakyMutantMan Date: Sun, 14 Sep 2025 13:39:18 -0700 Subject: [PATCH] Fix for palette flashing still occurring in OpenGL when reducevfx is enabled. --- src/p_mobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 256ab6b60..186634b10 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -15580,7 +15580,7 @@ mobj_t *P_SPMAngle(mobj_t *source, mobjtype_t type, angle_t angle, UINT8 allowai // void P_FlashPal(player_t *pl, UINT16 type, UINT16 duration) { - if (!pl) + if (!pl || cv_reducevfx.value) return; pl->flashcount = duration; pl->flashpal = type;