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:
Eidolon 2024-05-19 23:27:09 +00:00
commit 377b60802f

View file

@ -5025,14 +5025,31 @@ static void K_drawKartStartBulbs(void)
bulbtic -= 14;
// Reduce VFX disables the bulb animation while still presenting this indicator
if (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
{
patchnum = loop_animation[bulbtic % 4];
if (cv_reducevfx.value != 0)
{
patchnum = loop_animation[0];
}
else
{
patchnum = loop_animation[bulbtic % 4];
}
}
}
}