From 2a79eed0d2c29d7ef5c0a0627c8da9b322b38d79 Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 5 Mar 2024 05:34:44 -0800 Subject: [PATCH] Disable lap cheat prevention while on lap 0 (POSITION room) --- src/k_kart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/k_kart.c b/src/k_kart.c index abfcbd203..3804235c5 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -9991,6 +9991,7 @@ static void K_UpdatePlayerWaypoints(player_t *const player) if (delta > distance_threshold && player->respawn.state == RESPAWNST_NONE && // Respawning should be a full reset. old_currentwaypoint != NULL && // So should touching the first waypoint ever. + player->laps != 0 && // POSITION rooms may have unorthodox waypoints to guide bots. !(player->pflags & PF_TRUSTWAYPOINTS)) // Special exception. { extern consvar_t cv_debuglapcheat;