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

@ -1907,9 +1907,9 @@ void P_XYMovement(mobj_t *mo)
//{ SRB2kart stuff //{ SRB2kart stuff
if (mo->type == MT_ORBINAUT || mo->type == MT_JAWZ_DUD || mo->type == MT_JAWZ || mo->type == MT_BALLHOG) //(mo->type == MT_JAWZ && !mo->tracer)) if (mo->type == MT_ORBINAUT || mo->type == MT_JAWZ_DUD || mo->type == MT_JAWZ || mo->type == MT_BALLHOG) //(mo->type == MT_JAWZ && !mo->tracer))
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;
//} //}