mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Remove unused "error" command.
"error" was a debug command to test emergency shutdowns. It's not needed any more. Since users may complain that "error" crashes their game remove it.
This commit is contained in:
parent
6ab2b3227a
commit
1fc565a33b
1 changed files with 0 additions and 11 deletions
|
@ -71,16 +71,6 @@ void Key_Init(void);
|
|||
void SCR_EndLoadingPlaque(void);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Just throw a fatal error to
|
||||
* test error shutdown procedures
|
||||
*/
|
||||
void
|
||||
Com_Error_f(void)
|
||||
{
|
||||
Com_Error(ERR_FATAL, "%s", Cmd_Argv(1));
|
||||
}
|
||||
|
||||
void
|
||||
Qcommon_Init(int argc, char **argv)
|
||||
{
|
||||
|
@ -126,7 +116,6 @@ Qcommon_Init(int argc, char **argv)
|
|||
|
||||
/* init commands and vars */
|
||||
Cmd_AddCommand("z_stats", Z_Stats_f);
|
||||
Cmd_AddCommand("error", Com_Error_f);
|
||||
|
||||
host_speeds = Cvar_Get("host_speeds", "0", 0);
|
||||
log_stats = Cvar_Get("log_stats", "0", 0);
|
||||
|
|
Loading…
Reference in a new issue