From 2940b45a22243d2d1903aed70fe8288c2084c7fd Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Tue, 20 May 2025 18:52:41 -0400 Subject: [PATCH 1/2] No map command in GP --- src/d_netcmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 054504912..aa7711d7f 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2635,6 +2635,9 @@ static void Command_Map_f(void) } } + if (grandprixinfo.gp) + ischeating = true; + if (ischeating && !usingcheats) { CONS_Printf(M_GetText("Cheats must be enabled.\n")); From 0e515f8688f50c672429448703f09e68defc235c Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Fri, 23 May 2025 20:02:50 -0400 Subject: [PATCH 2/2] Check map command for rulechange --- src/d_netcmd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index aa7711d7f..618fc405b 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2529,7 +2529,7 @@ static void Command_Map_f(void) newforcespecialstage = COM_CheckParm("-forcespecialstage"); usingcheats = CV_CheatsEnabled(); - ischeating = (!(netgame || multiplayer)) || (!newresetplayers); + ischeating = (!(netgame || multiplayer)) || (!newresetplayers) || (!K_CanChangeRules(false)); if (!( first_option = COM_FirstOption() )) first_option = COM_Argc(); @@ -2635,9 +2635,6 @@ static void Command_Map_f(void) } } - if (grandprixinfo.gp) - ischeating = true; - if (ischeating && !usingcheats) { CONS_Printf(M_GetText("Cheats must be enabled.\n"));