mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
That's not how fixed math works, idiot
This commit is contained in:
parent
8861410692
commit
0dfdf563f3
1 changed files with 1 additions and 1 deletions
|
|
@ -14792,7 +14792,7 @@ fixed_t K_GetExpAdjustment(player_t *player)
|
||||||
// ...then take all of the XP you could possibly have earned,
|
// ...then take all of the XP you could possibly have earned,
|
||||||
// and lose it proportional to the stable rate. If you're below
|
// and lose it proportional to the stable rate. If you're below
|
||||||
// the stable threshold, this results in you losing XP.
|
// the stable threshold, this results in you losing XP.
|
||||||
result -= exp_power * FixedInt(FixedMul(live_players*FRACUNIT, FRACUNIT - exp_stablerate));
|
result -= FixedMul(exp_power, FixedMul(live_players*FRACUNIT, FRACUNIT - exp_stablerate));
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue