mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-24 06:21:18 +00:00
Invincibility: S-Monitor duration does not add extra boost onto top speed
This commit is contained in:
parent
acee24939f
commit
e3b21ce840
1 changed files with 3 additions and 1 deletions
|
|
@ -3286,7 +3286,9 @@ static void K_GetKartBoostPower(player_t *player)
|
|||
|
||||
if (player->invincibilitytimer) // Invincibility
|
||||
{
|
||||
ADDBOOST(3*FRACUNIT/8 + (FRACUNIT / 1400 * (player->invincibilitytimer)), 3*FRACUNIT, SLIPTIDEHANDLING/2); // + 37.5 + ?% top speed, + 300% acceleration, +25% handling
|
||||
// S-Monitor: no extra %
|
||||
fixed_t extra = FRACUNIT / 1400 * (player->invincibilitytimer - K_PowerUpRemaining(player, POWERUP_SMONITOR));
|
||||
ADDBOOST(3*FRACUNIT/8 + extra, 3*FRACUNIT, SLIPTIDEHANDLING/2); // + 37.5 + ?% top speed, + 300% acceleration, +25% handling
|
||||
}
|
||||
|
||||
if (player->growshrinktimer > 0) // Grow
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue