mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-04 16:02:48 +00:00
Merge branch 'reducevfx-noringwarning' into 'master'
Disable ring debt flashing counter and graphic if reducevfx is enabled and instead lock palette to crimson. See merge request kart-krew-dev/ring-racers!6
This commit is contained in:
commit
1225feaf55
1 changed files with 2 additions and 2 deletions
|
|
@ -4298,7 +4298,7 @@ static void K_drawRingCounter(boolean gametypeinfoshown)
|
||||||
if (stplyr->hudrings <= 0 && stplyr->ringvisualwarning > 1)
|
if (stplyr->hudrings <= 0 && stplyr->ringvisualwarning > 1)
|
||||||
{
|
{
|
||||||
colorring = true;
|
colorring = true;
|
||||||
if ((leveltime/2 & 1))
|
if ((leveltime/2 & 1) || (cv_reducevfx.value))
|
||||||
{
|
{
|
||||||
ringmap = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_CRIMSON, GTC_CACHE);
|
ringmap = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_CRIMSON, GTC_CACHE);
|
||||||
}
|
}
|
||||||
|
|
@ -4307,7 +4307,7 @@ static void K_drawRingCounter(boolean gametypeinfoshown)
|
||||||
ringmap = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_WHITE, GTC_CACHE);
|
ringmap = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_WHITE, GTC_CACHE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (stplyr->hudrings <= 0 && (leveltime/5 & 1)) // In debt
|
else if (stplyr->hudrings <= 0 && ((leveltime/5 & 1) || (cv_reducevfx.value))) // In debt
|
||||||
{
|
{
|
||||||
ringmap = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_CRIMSON, GTC_CACHE);
|
ringmap = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_CRIMSON, GTC_CACHE);
|
||||||
colorring = true;
|
colorring = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue