Merge branch 'no-palflash-opengl' into 'master'

Fix for palette flashing still occurring in OpenGL when reducevfx is enabled.

See merge request kart-krew-dev/ring-racers!5
This commit is contained in:
Eidolon 2025-09-15 20:45:08 -05:00
commit 3d995d79cc

View file

@ -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;