diff --git a/code/qcommon/common.cpp b/code/qcommon/common.cpp index 41f2da9e55..eb97a8dcf3 100644 --- a/code/qcommon/common.cpp +++ b/code/qcommon/common.cpp @@ -1124,6 +1124,7 @@ void Com_Init( char *commandLine ) { // init commands and vars // Cmd_AddCommand ("quit", Com_Quit_f); + Cmd_AddCommand ("exit", Com_Quit_f); Cmd_AddCommand ("writeconfig", Com_WriteConfig_f ); com_developer = Cvar_Get ("developer", "0", CVAR_TEMP ); diff --git a/codemp/qcommon/common.cpp b/codemp/qcommon/common.cpp index 69061d16de..69be6eacec 100644 --- a/codemp/qcommon/common.cpp +++ b/codemp/qcommon/common.cpp @@ -1207,6 +1207,7 @@ void Com_Init( char *commandLine ) { Cmd_AddCommand ("freeze", Com_Freeze_f); } Cmd_AddCommand ("quit", Com_Quit_f, "Quits the game" ); + Cmd_AddCommand ("exit", Com_Quit_f, "Quits the game" ); #ifndef FINAL_BUILD Cmd_AddCommand ("changeVectors", MSG_ReportChangeVectors_f ); #endif