mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
7dadededd6
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue