From dc23895875c40035da3a417869978050a8bdbdf3 Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 19 Nov 2019 12:43:25 -0800 Subject: [PATCH] Add back the encore parameter --- src/d_netcmd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 78b4c907..493eb18e 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2525,6 +2525,7 @@ static void Command_Map_f(void) size_t first_option; size_t option_force; size_t option_gametype; + size_t option_encore; const char *gametypename; boolean newresetplayers; @@ -2551,6 +2552,7 @@ static void Command_Map_f(void) option_force = COM_CheckPartialParm("-f"); option_gametype = COM_CheckPartialParm("-g"); + option_encore = COM_CheckPartialParm("-e"); newresetplayers = ! COM_CheckParm("-noresetplayers"); mustmodifygame = !( netgame || multiplayer || majormods ); @@ -2714,7 +2716,7 @@ static void Command_Map_f(void) return; } - if (parm_encore) + if (option_encore) { newencoremode = ! newencoremode; if (! M_SecretUnlocked(SECRET_ENCORE) && newencoremode)