mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Don't ringboost-scale speedlines past 2x (3x with tripwire leniency)
This commit is contained in:
parent
087cb961b5
commit
0d3b6c57b0
1 changed files with 1 additions and 1 deletions
|
|
@ -1841,7 +1841,7 @@ static void K_SpawnGenericSpeedLines(player_t *player, boolean top)
|
||||||
fast->angle = K_MomentumAngle(player->mo);
|
fast->angle = K_MomentumAngle(player->mo);
|
||||||
if (player->ringboost)
|
if (player->ringboost)
|
||||||
{
|
{
|
||||||
P_SetScale(fast, fast->scale + (fast->scale / 300 * player->ringboost));
|
P_SetScale(fast, min(fast->scale * 2, fast->scale + (fast->scale / 300 * player->ringboost)));
|
||||||
}
|
}
|
||||||
if (player->tripwireLeniency)
|
if (player->tripwireLeniency)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue