mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Only calculate wipeout slowdown if the player's speed > 0
This commit is contained in:
parent
54e03194ea
commit
f901ce0f00
1 changed files with 1 additions and 1 deletions
|
|
@ -9483,7 +9483,7 @@ void K_AdjustPlayerFriction(player_t *player)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wipeout slowdown
|
// Wipeout slowdown
|
||||||
if (player->spinouttimer && player->wipeoutslow)
|
if (player->speed > 0 && player->spinouttimer && player->wipeoutslow)
|
||||||
{
|
{
|
||||||
if (player->offroad)
|
if (player->offroad)
|
||||||
player->mo->friction -= 4912;
|
player->mo->friction -= 4912;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue