diff --git a/src/k_kart.c b/src/k_kart.c index 18ef5ac90..ab260e6f9 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -1657,9 +1657,9 @@ static void K_UpdateDraft(player_t *player) UINT8 i; // Distance you have to be to draft. If you're still accelerating, then this distance is lessened. - // This distance biases toward low weight! (min weight gets 3584 units, max weight gets 2560 units) + // This distance biases toward low weight! (min weight gets 4096 units, max weight gets 3072 units) // This distance is also scaled based on game speed. - draftdistance = (2560 + (128 * (9 - player->kartweight))) * player->mo->scale; + draftdistance = (3072 + (128 * (9 - player->kartweight))) * player->mo->scale; if (player->speed < topspd) draftdistance = FixedMul(draftdistance, FixedDiv(player->speed, topspd)); draftdistance = FixedMul(draftdistance, K_GetKartGameSpeedScalar(gamespeed)); diff --git a/src/p_mobj.c b/src/p_mobj.c index 7ffc8355f..e5f8bc65f 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -6702,7 +6702,7 @@ void P_MobjThinker(mobj_t *mobj) if ((G_RaceGametype() || mobj->target->player->kartstuff[k_bumper] <= 0) #if 1 // Set to 0 to test without needing to host - || ((mobj->target->player == &players[displayplayers[0]]) || P_IsLocalPlayer(mobj->target->player)) + || (P_IsDisplayPlayer(mobj->target->player)) #endif ) mobj->flags2 |= MF2_DONTDRAW; diff --git a/src/p_spec.c b/src/p_spec.c index 8f43231db..a0f967e4f 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -4242,7 +4242,7 @@ DoneSection2: player->starpostangle = player->starpostx = player->starposty = player->starpostz = player->kartstuff[k_starpostflip] = 0; } - if (P_IsLocalPlayer(player)) + if (P_IsDisplayPlayer(player)) { if (player->laps == (UINT8)(cv_numlaps.value - 1)) S_StartSound(NULL, sfx_s3k68); @@ -4272,7 +4272,7 @@ DoneSection2: if (player->laps >= (unsigned)cv_numlaps.value) { - if (P_IsLocalPlayer(player)) + if (P_IsDisplayPlayer(player)) S_StartSound(NULL, sfx_s3k6a); else if (player->kartstuff[k_position] == 1) S_StartSound(NULL, sfx_s253); diff --git a/src/p_user.c b/src/p_user.c index d25095f0c..f87a79649 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1674,7 +1674,7 @@ void P_DoPlayerExit(player_t *player) if (cv_kartvoices.value) { - if (P_IsLocalPlayer(player)) + if (P_IsDisplayPlayer(player)) { sfxenum_t sfx_id; if (K_IsPlayerLosing(player))