From 92721a138a3080632fcc07c4913cd8d7ff0a7dd1 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sun, 19 May 2024 11:59:14 -0500 Subject: [PATCH] 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. --- src/k_hud.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/k_hud.cpp b/src/k_hud.cpp index 9b28719c9..5cacf87bc 100644 --- a/src/k_hud.cpp +++ b/src/k_hud.cpp @@ -2148,6 +2148,12 @@ void K_DrawKartPositionNumXY( boolean exit, boolean lastLap, boolean losing ) { + if (cv_reducevfx.value != 0) + { + // Reduce the flashing rate + counter /= 4; + } + counter /= 3; // Alternate colors every three frames UINT8 *color = NULL;