mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 14:32:34 +00:00
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:
commit
3d995d79cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
void P_FlashPal(player_t *pl, UINT16 type, UINT16 duration)
|
||||||
{
|
{
|
||||||
if (!pl)
|
if (!pl || cv_reducevfx.value)
|
||||||
return;
|
return;
|
||||||
pl->flashcount = duration;
|
pl->flashcount = duration;
|
||||||
pl->flashpal = type;
|
pl->flashpal = type;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue