mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Move Overdrive boost power into standard OD
This commit is contained in:
parent
5f95ad933f
commit
c3005b2a6a
1 changed files with 2 additions and 2 deletions
|
|
@ -3564,7 +3564,7 @@ static void K_GetKartBoostPower(player_t *player)
|
|||
Easing_InCubic(
|
||||
player->overdrivepower,
|
||||
0,
|
||||
5*FRACUNIT/10
|
||||
65*FRACUNIT/100
|
||||
),
|
||||
Easing_InSine(
|
||||
player->overdrivepower,
|
||||
|
|
@ -3640,7 +3640,7 @@ static void K_GetKartBoostPower(player_t *player)
|
|||
{
|
||||
fixed_t ringboost_base = FRACUNIT/4;
|
||||
if (player->overdrive)
|
||||
ringboost_base += FRACUNIT/2;
|
||||
ringboost_base += FRACUNIT/4;
|
||||
// This one's a little special: we add extra top speed per tic of ringboost stored up, to allow for Ring Box to really rocket away.
|
||||
// (We compensate when decrementing ringboost to avoid runaway exponential scaling hell.)
|
||||
fixed_t rb = FixedDiv(player->ringboost * FRACUNIT, max(FRACUNIT, K_RingDurationBoost(player)));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue