From 597e6820b6a028c9aaae9e2784a8db592d2b94cf Mon Sep 17 00:00:00 2001 From: Sally Cochenour Date: Tue, 3 Mar 2020 14:47:41 -0500 Subject: [PATCH] Let's try out going back to closest check again --- src/k_kart.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/k_kart.c b/src/k_kart.c index c37fb6502..2597f6138 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -6006,14 +6006,16 @@ static void K_UpdateDistanceFromFinishLine(player_t *const player) else { waypoint_t *finishline = K_GetFinishLineWaypoint(); - waypoint_t *nextwaypoint = K_GetPlayerNextWaypoint(player, false); + waypoint_t *nextwaypoint = K_GetPlayerNextWaypoint(player, true); //false + /* if ((nextwaypoint == NULL) && (player->nextwaypoint == NULL)) { // Special case: if player nextwaypoint is still NULL, we want to fix that as soon as possible, so use the closest waypoint instead. // This will most likely only happen on map load or player spawn. nextwaypoint = K_GetPlayerNextWaypoint(player, true); } + */ if (nextwaypoint != NULL) {