Disable position num color animation on Reduce VFX

Like with position bulbs, the position number takes a large portion of
the screen and flashes rapidly. This slows that rate to 25% of what it
is when Reduce VFX is off.
This commit is contained in:
Eidolon 2024-05-19 11:59:14 -05:00
parent c44790749d
commit 92721a138a

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;