This commit is contained in:
Antonio Martinez 2025-07-16 16:04:23 -04:00
parent eba0f22e46
commit e7b4ce1994

View file

@ -533,6 +533,14 @@ fixed_t K_GetKartGameSpeedScalar(SINT8 value)
fixed_t base = ((13 + (3*value)) << FRACBITS) / 16;
fixed_t duel = overtimecheckpoints*(1<<FRACBITS)/32;
if (gametyperules & GTR_CIRCUIT && gametype != GT_TUTORIAL)
{
if (value == KARTSPEED_EASY)
{
base = 9*FRACUNIT/10;
}
}
return base + duel;
}
@ -3549,7 +3557,11 @@ static void K_GetKartBoostPower(player_t *player)
{
// Light weights have stronger boost stacking -- aka, better metabolism than heavies XD
const fixed_t maxmetabolismincrease = FRACUNIT/2;
const fixed_t metabolism = FRACUNIT - ((9-player->kartweight) * maxmetabolismincrease / 8);
fixed_t metabolism = FRACUNIT - ((9-player->kartweight) * maxmetabolismincrease / 8);
if (gamespeed == KARTSPEED_EASY && gametype != GT_TUTORIAL)
metabolism *= 2;
fixed_t boostpower = FRACUNIT;
fixed_t speedboost = 0, accelboost = 0, handleboost = 0;