From 1ac0c44f77730dd734e82f33e903196fdc667652 Mon Sep 17 00:00:00 2001 From: toaster Date: Tue, 27 Dec 2022 14:34:54 +0000 Subject: [PATCH] Permit using the gametype option for Command_Map_f when not playing multiplayer --- src/d_netcmd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 54743e331..0d4a8da9d 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2739,13 +2739,16 @@ static void Command_Map_f(void) if (option_gametype) { +#if 0 if (!multiplayer) { CONS_Printf(M_GetText( "You can't switch gametypes in single player!\n")); return; } - else if (COM_Argc() < option_gametype + 2)/* no argument after? */ + else +#endif //#if 0 + if (COM_Argc() < option_gametype + 2)/* no argument after? */ { CONS_Alert(CONS_ERROR, "No gametype name follows parameter '%s'.\n",