From d9f1044753594686bca7ed9168c9cc0b7494c6f0 Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Sun, 7 Sep 2025 15:13:59 -0400 Subject: [PATCH] Bots don't attenuate positive EXP --- src/k_kart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index 5c64406c0..3040083b6 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -154,7 +154,7 @@ fixed_t K_EffectiveGradingFactor(const player_t *player) fixed_t gf = player->gradingfactor; - if (gf > GRADINGFACTORSOFTCAP) + if (gf > GRADINGFACTORSOFTCAP && !K_PlayerUsesBotMovement(player)) gf = GRADINGFACTORSOFTCAP + FixedDiv(gf - GRADINGFACTORSOFTCAP, GRADINGFACTORCAPSTRENGTH); return max(min, gf); @@ -4690,14 +4690,14 @@ void K_CheckpointCrossAward(player_t *player) else { K_AddMessage("Margin Boost!", true, false); - S_StartSound(NULL, sfx_duelmb); // Duel announcer call, we only do this on the first margin boost + S_StartSound(NULL, sfx_duelmb); // Duel announcer call, we only do this on the first margin boost // fade out the song for a bit g_musicfade.start = leveltime; g_musicfade.end = g_musicfade.start + 70; g_musicfade.fade = 6; g_musicfade.ticked = false; - + // epic lighting g_darkness.start = leveltime; g_darkness.end = INT32_MAX;