mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'position-reduce-vfx' into 'master'
Disable position bulb animations for Reduce VFX See merge request KartKrew/Kart!2397
This commit is contained in:
commit
377b60802f
1 changed files with 19 additions and 2 deletions
|
|
@ -5025,14 +5025,31 @@ static void K_drawKartStartBulbs(void)
|
||||||
|
|
||||||
bulbtic -= 14;
|
bulbtic -= 14;
|
||||||
|
|
||||||
|
// Reduce VFX disables the bulb animation while still presenting this indicator
|
||||||
|
|
||||||
if (bulbtic > length)
|
if (bulbtic > length)
|
||||||
{
|
{
|
||||||
bulbtic -= length;
|
bulbtic -= length;
|
||||||
patchnum = chillloop_animation[bulbtic % 2];
|
|
||||||
|
if (cv_reducevfx.value != 0)
|
||||||
|
{
|
||||||
|
patchnum = chillloop_animation[0];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
patchnum = chillloop_animation[bulbtic % 2];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
patchnum = loop_animation[bulbtic % 4];
|
if (cv_reducevfx.value != 0)
|
||||||
|
{
|
||||||
|
patchnum = loop_animation[0];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
patchnum = loop_animation[bulbtic % 4];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue