Merge branch 'positive-bot-exp' into 'master'

Bots don't attenuate positive EXP

See merge request kart-krew-dev/ring-racers-internal!2801
This commit is contained in:
Gunla 2025-09-09 02:49:12 +00:00 committed by GitLab
commit 7dadededd6
No known key found for this signature in database

View file

@ -154,7 +154,7 @@ fixed_t K_EffectiveGradingFactor(const player_t *player)
fixed_t gf = player->gradingfactor; fixed_t gf = player->gradingfactor;
if (gf > GRADINGFACTORSOFTCAP) if (gf > GRADINGFACTORSOFTCAP && !K_PlayerUsesBotMovement(player))
gf = GRADINGFACTORSOFTCAP + FixedDiv(gf - GRADINGFACTORSOFTCAP, GRADINGFACTORCAPSTRENGTH); gf = GRADINGFACTORSOFTCAP + FixedDiv(gf - GRADINGFACTORSOFTCAP, GRADINGFACTORCAPSTRENGTH);
return max(min, gf); return max(min, gf);