mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
476a117c10
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