mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Wipeout slowdown in offroad is static
This commit is contained in:
parent
240252fe08
commit
f12972c377
1 changed files with 2 additions and 1 deletions
|
|
@ -5454,7 +5454,8 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
// Wipeout slowdown
|
// Wipeout slowdown
|
||||||
if (player->kartstuff[k_spinouttimer] && player->kartstuff[k_wipeoutslow])
|
if (player->kartstuff[k_spinouttimer] && player->kartstuff[k_wipeoutslow])
|
||||||
{
|
{
|
||||||
player->mo->friction -= FixedMul(2456, player->kartstuff[k_offroad]);
|
if (player->kartstuff[k_offroad])
|
||||||
|
player->mo->friction -= 4912;
|
||||||
if (player->kartstuff[k_wipeoutslow] == 1)
|
if (player->kartstuff[k_wipeoutslow] == 1)
|
||||||
player->mo->friction -= 9824;
|
player->mo->friction -= 9824;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue