From a32bb486e2614672d226bc434b12612897cc2b61 Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 5 Mar 2024 05:35:33 -0800 Subject: [PATCH] Disable lap cheat prevention when teleporting with console commands --- src/d_netcmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 47d272caf..2e2a1bc9a 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -6078,6 +6078,9 @@ static void Got_Cheat(const UINT8 **cp, INT32 playernum) } P_MapEnd(); + player->pflags |= PF_TRUSTWAYPOINTS; + player->bigwaypointgap = 0; + S_StartSound(player->mo, sfx_mixup); }