mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
cap ring award exp penalty
This commit is contained in:
parent
8861410692
commit
6287ee485a
1 changed files with 1 additions and 1 deletions
|
|
@ -12703,7 +12703,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
else
|
||||
{
|
||||
UINT32 behind = K_GetItemRouletteDistance(player, player->itemRoulette.playing);
|
||||
behind = FixedMul(behind, player->exp);
|
||||
behind = FixedMul(behind, max(player->exp, FRACUNIT/2));
|
||||
UINT32 behindMulti = behind / 500;
|
||||
behindMulti = min(behindMulti, 60);
|
||||
award = award * (behindMulti + 10) / 10;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue