From 0dfdf563f3957c1c4adb92efd34b8bccb70aef61 Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Mon, 19 Aug 2024 16:57:36 -0700 Subject: [PATCH] That's not how fixed math works, idiot --- src/k_kart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_kart.c b/src/k_kart.c index 8b1102d57..263306c6e 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -14792,7 +14792,7 @@ fixed_t K_GetExpAdjustment(player_t *player) // ...then take all of the XP you could possibly have earned, // and lose it proportional to the stable rate. If you're below // 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; }