Fix players sometimes snapping backwards on landing after spikeball hits

This commit is contained in:
fickleheart 2019-02-18 23:35:24 -06:00
parent 9c1749d269
commit caf7888eed

View file

@ -5476,7 +5476,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
}
// Wipeout slowdown
if (player->kartstuff[k_spinouttimer] && player->kartstuff[k_wipeoutslow])
if (player->kartstuff[k_spinouttimer] && player->kartstuff[k_wipeoutslow] && player->mo->friction > FRACUNIT/2)
{
if (player->kartstuff[k_offroad])
player->mo->friction -= 4912;