Merge branch 'position-color-reduce-vfx' into 'master'

Disable position num color animation on Reduce VFX

See merge request KartKrew/Kart!2398
This commit is contained in:
Eidolon 2024-05-19 23:27:37 +00:00
commit 476a117c10

View file

@ -2148,6 +2148,12 @@ void K_DrawKartPositionNumXY(
boolean exit, boolean lastLap, boolean losing boolean exit, boolean lastLap, boolean losing
) )
{ {
if (cv_reducevfx.value != 0)
{
// Reduce the flashing rate
counter /= 4;
}
counter /= 3; // Alternate colors every three frames counter /= 3; // Alternate colors every three frames
UINT8 *color = NULL; UINT8 *color = NULL;