Remove this debugging command, as I don't need it anymore.
This commit is contained in:
parent
5da55e8b76
commit
e4b4b60cb6
|
@ -125,7 +125,6 @@ static void Command_Version_f(void);
|
||||||
static void Command_ModDetails_f(void);
|
static void Command_ModDetails_f(void);
|
||||||
#endif
|
#endif
|
||||||
static void Command_ShowGametype_f(void);
|
static void Command_ShowGametype_f(void);
|
||||||
static void Command_SetGametype_f(void);
|
|
||||||
FUNCNORETURN static ATTRNORETURN void Command_Quit_f(void);
|
FUNCNORETURN static ATTRNORETURN void Command_Quit_f(void);
|
||||||
static void Command_Playintro_f(void);
|
static void Command_Playintro_f(void);
|
||||||
|
|
||||||
|
@ -488,7 +487,6 @@ void D_RegisterServerCommands(void)
|
||||||
COM_AddCommand("suicide", Command_Suicide);
|
COM_AddCommand("suicide", Command_Suicide);
|
||||||
|
|
||||||
COM_AddCommand("gametype", Command_ShowGametype_f);
|
COM_AddCommand("gametype", Command_ShowGametype_f);
|
||||||
COM_AddCommand("setgametype", Command_SetGametype_f);
|
|
||||||
COM_AddCommand("version", Command_Version_f);
|
COM_AddCommand("version", Command_Version_f);
|
||||||
#ifdef UPDATE_ALERT
|
#ifdef UPDATE_ALERT
|
||||||
COM_AddCommand("mod_details", Command_ModDetails_f);
|
COM_AddCommand("mod_details", Command_ModDetails_f);
|
||||||
|
@ -3643,16 +3641,6 @@ static void Command_ShowGametype_f(void)
|
||||||
CONS_Printf(M_GetText("Unknown gametype set (%d)\n"), gametype);
|
CONS_Printf(M_GetText("Unknown gametype set (%d)\n"), gametype);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Command_SetGametype_f(void)
|
|
||||||
{
|
|
||||||
if (COM_Argc() > 1)
|
|
||||||
{
|
|
||||||
INT16 oldgametype = gametype;
|
|
||||||
G_SetGametype(atoi(COM_Argv(1)));
|
|
||||||
D_GameTypeChanged(oldgametype);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Plays the intro.
|
/** Plays the intro.
|
||||||
*/
|
*/
|
||||||
static void Command_Playintro_f(void)
|
static void Command_Playintro_f(void)
|
||||||
|
|
Loading…
Reference in a new issue