mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 12:46:06 +00:00
Make base value higher
This commit is contained in:
parent
41a66ac50a
commit
4801b57fa4
1 changed files with 2 additions and 2 deletions
|
|
@ -1657,9 +1657,9 @@ static void K_UpdateDraft(player_t *player)
|
|||
UINT8 i;
|
||||
|
||||
// Distance you have to be to draft. If you're still accelerating, then this distance is lessened.
|
||||
// This distance biases toward low weight! (min weight gets 3584 units, max weight gets 2560 units)
|
||||
// This distance biases toward low weight! (min weight gets 4096 units, max weight gets 3072 units)
|
||||
// This distance is also scaled based on game speed.
|
||||
draftdistance = (2560 + (128 * (9 - player->kartweight))) * player->mo->scale;
|
||||
draftdistance = (3072 + (128 * (9 - player->kartweight))) * player->mo->scale;
|
||||
if (player->speed < topspd)
|
||||
draftdistance = FixedMul(draftdistance, FixedDiv(player->speed, topspd));
|
||||
draftdistance = FixedMul(draftdistance, K_GetKartGameSpeedScalar(gamespeed));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue