mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-15 01:01:43 +00:00
Add back the encore parameter
This commit is contained in:
parent
19443fec4c
commit
dc23895875
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue