Ringboost speedlines takes a lot longer to turn gold

TICRATE/3 -> TICRATE/6
This commit is contained in:
VelocitOni 2023-08-11 01:17:06 -04:00
parent 3283ced078
commit 8f01f15540

View file

@ -1901,7 +1901,7 @@ static void K_SpawnGenericSpeedLines(player_t *player, boolean top)
else if (player->ringboost)
{
UINT8 ringboostcolors[] = {SKINCOLOR_AQUAMARINE, SKINCOLOR_EMERALD, SKINCOLOR_GARDEN, SKINCOLOR_CROCODILE, SKINCOLOR_BANANA};
UINT8 ringboostbreakpoint = min(player->ringboost / TICRATE / 3, sizeof(ringboostcolors) / sizeof(ringboostcolors[0]));
UINT8 ringboostbreakpoint = min(player->ringboost / TICRATE / 6, sizeof(ringboostcolors) / sizeof(ringboostcolors[0]));
if (ringboostbreakpoint > 0)
{
fast->color = ringboostcolors[ringboostbreakpoint - 1];