diff --git a/src/k_kart.c b/src/k_kart.c index b211bea7..faa982a1 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -1781,8 +1781,8 @@ INT16 K_GetKartTurnValue(player_t *player, INT16 turnvalue) static void K_KartDrift(player_t *player, boolean onground) { - fixed_t dsone = 35*3 + player->kartspeed; - fixed_t dstwo = 70*3 + player->kartspeed*2; + fixed_t dsone = 26*2 + player->kartspeed; + fixed_t dstwo = dsone*2; // Drifting is actually straffing + automatic turning. // Holding the Jump button will enable drifting. @@ -1861,7 +1861,7 @@ static void K_KartDrift(player_t *player, boolean onground) player->kartstuff[k_drift] = 5; if (player->cmd.buttons & BT_DRIFTLEFT) - driftadditive = 3; + driftadditive = 2; } else if (player->kartstuff[k_drift] <= -1) // Drifting to the right { @@ -1870,7 +1870,7 @@ static void K_KartDrift(player_t *player, boolean onground) player->kartstuff[k_drift] = -5; if (player->cmd.buttons & BT_DRIFTRIGHT) - driftadditive = 3; + driftadditive = 2; } // This spawns the drift sparks diff --git a/src/p_mobj.c b/src/p_mobj.c index 0b2e2c2f..0a779b59 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -6405,7 +6405,7 @@ void P_MobjThinker(mobj_t *mobj) //{ SRB2kart mobs case MT_DRIFT: if ((mobj->target && mobj->target->player && mobj->target->player->mo && mobj->target->player->health > 0 && !mobj->target->player->spectator) - && (mobj->type == MT_DRIFT && mobj->target->player->kartstuff[k_driftcharge] >= 35*3 + mobj->target->player->kartspeed)) + && (mobj->type == MT_DRIFT && mobj->target->player->kartstuff[k_driftcharge] >= 26*2 + mobj->target->player->kartspeed)) { INT32 HEIGHT; fixed_t radius; @@ -6434,7 +6434,7 @@ void P_MobjThinker(mobj_t *mobj) // Switch blue flames to red flames if (mobj->target->player && mobj->type == MT_DRIFT - && mobj->target->player->kartstuff[k_driftcharge] >= 70*3 + mobj->target->player->kartspeed*2 + && mobj->target->player->kartstuff[k_driftcharge] >= 52*2 + mobj->target->player->kartspeed*2 && !(mobj->state >= &states[S_DRIFTSPARK4] && mobj->state <= &states[S_DRIFTSPARK6])) P_SetMobjStateNF(mobj, S_DRIFTSPARK4);