From 9a250d38082787052df379a6d7743f93bc968c1e Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Tue, 23 Aug 2022 20:09:10 -0400 Subject: [PATCH] Maintain tether in air setpieces --- src/k_kart.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index a2898ae41..e05c9b077 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -1892,9 +1892,14 @@ static void K_UpdateDraft(player_t *player) } // No one to draft off of? Then you can knock that off. - if (player->draftleeway) // Prevent small disruptions from stopping your draft. + if (player->draftleeway > 0) // Prevent small disruptions from stopping your draft. { - player->draftleeway--; + if (P_IsObjectOnGround(player->mo) == true) + { + // Allow maintaining tether in air setpieces. + player->draftleeway--; + } + if (player->lastdraft >= 0 && player->lastdraft < MAXPLAYERS && playeringame[player->lastdraft]