mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
c44790749d
commit
92721a138a
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue