mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Double top speed buff from blue spheres
This commit is contained in:
parent
2c1d8e86c8
commit
efaff6eb6f
1 changed files with 1 additions and 1 deletions
|
|
@ -3164,7 +3164,7 @@ fixed_t K_GetKartSpeed(player_t *player, boolean doboostpower, boolean dorubberb
|
||||||
|
|
||||||
if (player->spheres > 0)
|
if (player->spheres > 0)
|
||||||
{
|
{
|
||||||
fixed_t sphereAdd = (FRACUNIT/80); // 50% at max
|
fixed_t sphereAdd = (FRACUNIT/40); // 100% at max
|
||||||
finalspeed = FixedMul(finalspeed, FRACUNIT + (sphereAdd * player->spheres));
|
finalspeed = FixedMul(finalspeed, FRACUNIT + (sphereAdd * player->spheres));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue