Spinout min speed is now drift min speed

This commit is contained in:
Latapostrophe 2020-05-20 14:16:34 +02:00
parent e8870dee24
commit 3de5f92a48

View file

@ -1909,7 +1909,7 @@ void P_XYMovement(mobj_t *mo)
return; return;
// hey maybe we should check for offroad as well before ignoring literally all friction ever // hey maybe we should check for offroad as well before ignoring literally all friction ever
if (mo->player && (mo->player->kartstuff[k_spinouttimer] && !mo->player->kartstuff[k_offroad] && !mo->player->kartstuff[k_wipeoutslow]) && mo->player->speed <= K_GetKartSpeed(mo->player, false)/4) if (mo->player && (mo->player->kartstuff[k_spinouttimer] && !mo->player->kartstuff[k_offroad] && !mo->player->kartstuff[k_wipeoutslow]) && mo->player->speed <= FixedDiv(20*mapobjectscale, mo->player->kartstuff[k_offroad] + FRACUNIT))
return; return;
//} //}